mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-10 19:57:09 +03:00
17 lines
462 B
YAML
17 lines
462 B
YAML
|
services:
|
||
|
docs:
|
||
|
image: {{ cookiecutter.project_slug }}_local_docs
|
||
|
container_name: {{ cookiecutter.project_slug }}_local_docs
|
||
|
build:
|
||
|
context: .
|
||
|
dockerfile: ./compose/local/docs/Dockerfile
|
||
|
env_file:
|
||
|
- ./.envs/.local/.django
|
||
|
volumes:
|
||
|
- ./docs:/docs:z
|
||
|
- ./config:/app/config:z
|
||
|
- ./{{ cookiecutter.project_slug }}:/app/{{ cookiecutter.project_slug }}:z
|
||
|
ports:
|
||
|
- '9000:9000'
|
||
|
command: /start-docs
|