Commit 62794fb0 authored by Cédric Crettaz's avatar Cédric Crettaz 🖥
Browse files

Replace docker-compose.yml.

parent e5b08d54
......@@ -3,8 +3,6 @@ version: "3.3"
services:
db:
image: postgres
networks:
- naiades-platform-poc_default
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
......@@ -12,8 +10,6 @@ services:
migrate:
build: .
image: eanagnostopoulou/naiades-city-web
networks:
- naiades-platform-poc_default
command: python manage.py migrate --noinput
environment:
- DATABASE_HOST=db
......@@ -26,13 +22,9 @@ services:
web:
build: .
image: eanagnostopoulou/naiades-city-web
networks:
- naiades-platform-poc_default
command: python manage.py runserver 0.0.0.0:80
#ports:
# - "${NAIADES_CITY_PORT:-5003}:8000"
expose:
- "80"
command: python manage.py runserver 0.0.0.0:8000
ports:
- "${NAIADES_CITY_PORT:-5003}:8000"
environment:
- DATABASE_HOST=db
- DATABASE_NAME=postgres
......@@ -41,8 +33,4 @@ services:
- NAIADES_API=http://147.102.17.81/api
depends_on:
- db
- migrate
networks:
naiades-platform-poc_default:
external: true
\ No newline at end of file
- migrate
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment