Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
naiades
naiades-platform-poc
Commits
e5b08d54
Commit
e5b08d54
authored
Sep 20, 2021
by
Cédric Crettaz
🖥
Browse files
Replace docker-compose.yml.
parent
ff9abb4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
naiades-gui-watering/docker-compose.yml
View file @
e5b08d54
...
@@ -3,16 +3,12 @@ version: "3.3"
...
@@ -3,16 +3,12 @@ version: "3.3"
services
:
services
:
db
:
db
:
image
:
postgres
image
:
postgres
networks
:
-
naiades-platform-poc_default
environment
:
environment
:
-
POSTGRES_DB=postgres
-
POSTGRES_DB=postgres
-
POSTGRES_USER=postgres
-
POSTGRES_USER=postgres
-
POSTGRES_PASSWORD=postgres
-
POSTGRES_PASSWORD=postgres
migrate
:
migrate
:
image
:
eanagnostopoulou/naiades-watering-web
image
:
eanagnostopoulou/naiades-watering-web
networks
:
-
naiades-platform-poc_default
command
:
python manage.py migrate --noinput
command
:
python manage.py migrate --noinput
environment
:
environment
:
-
POSTGRES_HOST=db
-
POSTGRES_HOST=db
...
@@ -24,13 +20,11 @@ services:
...
@@ -24,13 +20,11 @@ services:
web
:
web
:
build
:
.
build
:
.
image
:
eanagnostopoulou/naiades-watering-web
image
:
eanagnostopoulou/naiades-watering-web
networks
:
command
:
python manage.py runserver 0.0.0.0:8000
-
naiades-platform-poc_default
ports
:
command
:
python manage.py runserver 0.0.0.0:80
-
"
${NAIADES_WATERING_PORT:-5001}:8000"
#ports:
#expose:
# - "${NAIADES_WATERING_PORT:-5001}:8000"
# - "80"
expose
:
-
"
80"
environment
:
environment
:
-
POSTGRES_HOST=db
-
POSTGRES_HOST=db
-
POSTGRES_DB=postgres
-
POSTGRES_DB=postgres
...
@@ -38,8 +32,4 @@ services:
...
@@ -38,8 +32,4 @@ services:
-
POSTGRES_PASSWORD=postgres
-
POSTGRES_PASSWORD=postgres
depends_on
:
depends_on
:
-
db
-
db
-
migrate
-
migrate
networks
:
\ No newline at end of file
naiades-platform-poc_default
:
external
:
true
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment