ojuso-map/local.yml

39 lines
814 B
YAML
Raw Normal View History

version: '3'
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
command: /bin/sh -c "python3 manage.py runserver 0.0.0.0:8000"
db:
image: mdillon/postgis:9.6-alpine
volumes:
- postgres-data-volume:/var/lib/postgresql/data
- ./support/postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
ports:
- 5432:5432
env_file:
- ./local.env
mailhog:
image: mailhog/mailhog
ports:
- 1025:1025
- 8025:8025
volumes:
weblate-data:
postgres-data-volume: