mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-01 02:39:48 +03:00
remove unnecessary check for docker in dev docker-compose file
This commit is contained in:
parent
5b743c1781
commit
38e33351c1
|
@ -12,7 +12,7 @@ services:
|
|||
- postgres_backup_dev:/backups
|
||||
environment:
|
||||
- POSTGRES_USER={{cookiecutter.project_slug}}
|
||||
{% if cookiecutter.use_docker == 'y' and cookiecutter.use_mailhog == 'y' %}
|
||||
{% if cookiecutter.use_mailhog == 'y' %}
|
||||
mailhog:
|
||||
image: mailhog/mailhog
|
||||
ports:
|
||||
|
@ -33,7 +33,7 @@ services:
|
|||
- "8000:8000"
|
||||
links:
|
||||
- postgres
|
||||
{% if cookiecutter.use_docker == 'y' and cookiecutter.use_mailhog == 'y' %}- mailhog{% endif %}
|
||||
{% if cookiecutter.use_mailhog == 'y' %}- mailhog{% endif %}
|
||||
{% if cookiecutter.use_pycharm == 'y' %}
|
||||
pycharm:
|
||||
build:
|
||||
|
|
Loading…
Reference in New Issue
Block a user