cookiecutter-django/{{cookiecutter.project_slug}}/docker-compose.docs.yml
mpsantos bebffe7cc9
Remove obsolete version element from docker compose files (#5059)
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
2024-05-13 18:27:41 +01:00

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