使用docker-compose的多容器应用程序 [英] Multi-Container app using docker-compose

查看:121
本文介绍了使用docker-compose的多容器应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到用于容器的Web应用程序的docker-compose的问题

I am having problem with docker-compose used for Web Apps for Containers

docker-compose的结构如下:

Structure of docker-compose is as below:

version: '3'
services:
postgres:
image: postgres:10.3-alpine
environment:
- POSTGRES_PASSWORD=<my_password>

beezrich:
image: <my_acr_registry_url>/<image>:<version>
command: bash -c "bundle exec rake db:create db:migrate ; bundle exec rails s -p 3000 -b 0.0.0.0"
ports:
- "3000:3000"
expose:
- 3000
depends_on:
- postgres
environment:
- DATABASE_USERNAME=<my_username>
- DATABASE_PASSWORD=<my_password>
- DATABASE_HOST=<my_host>

推荐答案

您好Pauldeld,

Hi Pauldeld,

您看到的问题是什么?您何时开始看到这个问题?



请记住,多容器目前处于预览状态遵循App Service平台功能:

What is the issue you are seeing and when did you start seeing this issue?

Please, keep in mind that Multi-container is currently in preview, the following App Service platform features:

- 身份验证/授权

-Managed Identities

-Authentication / Authorization
-Managed Identities

不受支持。我们希望在一般可用性(GA)之前为多容器Web应用程序启用这些功能





are not supported. We expect to enable these features for Multi-container Web App before General Availability (GA)



这篇关于使用docker-compose的多容器应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆