mirror of
https://github.com/Crocmagnon/cookiecutter-django.git
synced 2024-11-05 14:33:55 +01:00
20 lines
335 B
YAML
20 lines
335 B
YAML
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
|