2017-10-31 14:57:26 +00:00
|
|
|
version: '3'
|
2017-10-08 20:21:51 +00:00
|
|
|
services:
|
|
|
|
map:
|
|
|
|
build: .
|
|
|
|
links:
|
|
|
|
- db:db
|
|
|
|
- mailhog:mail
|
|
|
|
volumes:
|
|
|
|
- .containers/map/static:/app/static
|
|
|
|
- .containers/map/gunicorn.sock:/app/gunicorn.sock
|
|
|
|
- ./apps:/app/apps
|
|
|
|
- ./ojusomap:/app/ojusomap
|
|
|
|
- ./support:/app/support
|
|
|
|
ports:
|
|
|
|
- 8000:8000
|
|
|
|
env_file:
|
|
|
|
- ./local.env
|
2018-03-29 05:21:54 +00:00
|
|
|
command: /bin/sh -c "python3 manage.py runserver 0.0.0.0:8000"
|
2018-03-16 00:19:53 +00:00
|
|
|
|
2017-10-08 20:21:51 +00:00
|
|
|
db:
|
|
|
|
image: mdillon/postgis:9.6-alpine
|
|
|
|
volumes:
|
2018-03-16 00:19:53 +00:00
|
|
|
- postgres-data-volume:/var/lib/postgresql/data
|
2017-10-08 20:21:51 +00:00
|
|
|
- ./support/postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
|
|
|
ports:
|
2018-03-27 02:21:29 +00:00
|
|
|
- 5432:5432
|
2017-10-08 20:21:51 +00:00
|
|
|
env_file:
|
|
|
|
- ./local.env
|
|
|
|
|
|
|
|
mailhog:
|
|
|
|
image: mailhog/mailhog
|
|
|
|
ports:
|
|
|
|
- 1025:1025
|
|
|
|
- 8025:8025
|
2018-03-16 00:19:53 +00:00
|
|
|
|
2017-10-08 20:21:51 +00:00
|
|
|
volumes:
|
|
|
|
weblate-data:
|
2018-03-16 00:19:53 +00:00
|
|
|
postgres-data-volume:
|