Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion {{cookiecutter.project_slug}}/docker-compose.docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ services:
context: .
dockerfile: ./compose/local/docs/Dockerfile
env_file:
- ./.envs/.local/.django
- path: ./.envs/.local/.django
required: false
volumes:
- /app/.venv
- ./docs:/docs:z
Expand Down
9 changes: 6 additions & 3 deletions {{cookiecutter.project_slug}}/docker-compose.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ services:
- /app/.venv
- .:/app:z
env_file:
- ./.envs/.local/.django
- ./.envs/.local/.postgres
- path: ./.envs/.local/.django
required: false
- path: ./.envs/.local/.postgres
required: false
ports:
- '8000:8000'
command: /start
Expand All @@ -42,7 +44,8 @@ services:
{%- endif %}
- {{ cookiecutter.project_slug }}_local_postgres_data_backups:/backups
env_file:
- ./.envs/.local/.postgres
- path: ./.envs/.local/.postgres
required: false

{%- if cookiecutter.use_mailpit == 'y' %}

Expand Down