Commit 91852d0d authored by Guillaume Pellerin's avatar Guillaume Pellerin
Browse files

Update env files, add nginx autonomous env

parent 96caaf64
Subproject commit 08d3ecfc6f651c233f0f5c98113303e2fbdbc1b1
Subproject commit 00c343deceb5036a55bf91b1dd19f04e82173dea
......@@ -19,44 +19,46 @@
# Guillaume Pellerin <guillaume.pellerin@ircam.fr>
var:
image: debian:jessie
volumes:
- ./var/media:/srv/media
- ./var/backup:/srv/backup
- ./var/static:/srv/static
- ./var/log/uwsgi:/var/log/uwsgi
- ./var/log/nginx:/var/log/nginx
- ./var/log/app:/var/log/app
- ./var/log/cron:/var/log/cron
- ./bin:/srv/bin
- ./doc:/srv/doc
- /srv/bower
command: "true"
image: debian:jessie
volumes:
- ./var/media:/srv/media
- ./var/backup:/srv/backup
- ./var/static:/srv/static
- ./var/log/uwsgi:/var/log/uwsgi
- ./var/log/nginx:/var/log/nginx
- ./var/log/app:/var/log/app
- ./var/log/cron:/var/log/cron
- ./bin:/srv/bin
- ./doc:/srv/doc
- /srv/bower
command: "true"
db:
image: postgres:9.5
volumes_from:
- var
volumes:
- ./var/lib/postgresql/data:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=noodFof2Kna
image: postgres:9.5
volumes_from:
- var
volumes:
- ./var/lib/postgresql/data:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=noodFof2Kna
app:
image: ircamweb/mezzo:latest-dev
command: /bin/sh bin/app.sh --runserver
volumes:
- ./app:/srv/app
- ./lib:/srv/lib
- .git:/srv/.git
volumes_from:
- var
expose:
- "8000"
links:
- db
environment:
- DEBUG=False
image: ircamweb/mezzo:latest-dev
command: /bin/sh bin/app.sh --runserver
volumes:
- ./app:/srv/app
- ./lib:/srv/lib
- .git:/srv/.git
volumes_from:
- var
expose:
- "8000"
ports:
- "9000:8000"
links:
- db
environment:
- DEBUG=False
nginx:
image: nginx
app:
build: .
ports:
- "9040:8000"
environment:
- DEBUG=True
image: ircamweb/mezzo:latest-dev
command: /bin/sh bin/app.sh --runserver
ports:
- "9000:8000"
environment:
- DEBUG=True
app:
command: /bin/sh bin/app.sh
command: /bin/sh bin/app.sh
nginx:
image: nginx
ports:
- "8040:80"
volumes:
- ./etc/nginx/conf.d/default.conf:/etc/nginx/conf.d/default.conf
volumes_from:
- var
links:
- app
app:
build: .
command: /bin/sh bin/app.sh
nginx:
image: nginx
ports:
- "8040:80"
volumes:
- ./etc/nginx/conf.d/default.conf:/etc/nginx/conf.d/default.conf
volumes_from:
- var
links:
- app
command: /bin/sh bin/app.sh
ports:
- "8040:8000"
Subproject commit e4a3a5ee9eafb88ec317073c262952d6d2110fb8
Subproject commit d1c42a926837913bbbe0aa0d30a6599556e997bc
Subproject commit f0f08ec810d9e412b74b036d3585386a226c0cc4
Subproject commit 0178b88b49e3999015fce7524961877321a24878
Supports Markdown
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