mirror of
https://github.com/Crocmagnon/cookiecutter-django.git
synced 2024-11-05 06:23:54 +01:00
21 lines
335 B
YAML
21 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
|