cookiecutter-django/{{cookiecutter.project_slug}}/contrib/server/docker-compose.yml

21 lines
335 B
YAML
Raw Normal View History

2022-12-16 22:12:15 +01:00
version: '2.4'
services:
django:
image: crocmagnon/{{cookiecutter.project_slug}}
env_file:
- .env
volumes:
- ./db:/app/db
- ./data:/app/data
networks:
- frontend
user: 1000:1000
restart: always
init: true
tty: true
mem_limit: 512m
networks:
frontend:
external: true