Fix default port mapping and indentation

Signed-off-by: Anca Iordache <anca.iordache@docker.com>
This commit is contained in:
Anca Iordache
2020-03-24 00:36:46 +01:00
parent dc1bb13dce
commit 77c6920a83
20 changed files with 111 additions and 108 deletions

View File

@@ -8,15 +8,15 @@ services:
- FLASK_SERVER_ADDR=backend:9091
command: /bin/bash -c "envsubst < /tmp/nginx.conf > /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'"
ports:
- 8080:80
- 80:80
depends_on:
- backend
- backend
backend:
build: flask
environment:
- FLASK_SERVER_PORT=9091
- FLASK_SERVER_PORT=9091
volumes:
- ./flask:/src
- ./flask:/src
depends_on:
- mongo
mongo: