ausglamr/docker-compose.yml

27 lines
552 B
YAML
Raw Normal View History

2024-01-04 11:54:56 +11:00
services:
db:
image: postgres:13
env_file: .env
volumes:
- pgdata:/var/lib/postgresql/data
networks:
- main
web:
build: .
env_file: .env
restart: unless-stopped
2024-01-26 11:00:26 +11:00
command: python manage.py runserver 0.0.0.0:8000 # only use in dev
2024-01-09 18:11:22 +11:00
# command: gunicorn --env DJANGO_SETTINGS_MODULE=ausglamr.settings ausglamr.wsgi --workers=10 --threads=4 -b 0.0.0.0:8000
2024-01-04 11:54:56 +11:00
volumes:
- .:/app
depends_on:
- db
networks:
- main
ports:
2024-01-08 09:33:01 +11:00
- "8282:8000"
2024-01-04 11:54:56 +11:00
volumes:
pgdata:
networks:
main: