remove unnecessary check for docker in dev docker-compose file

This commit is contained in:
Srinivas Nyayapati 2016-05-23 22:58:58 -04:00
parent 5b743c1781
commit 38e33351c1

View File

@ -12,7 +12,7 @@ services:
- postgres_backup_dev:/backups - postgres_backup_dev:/backups
environment: environment:
- POSTGRES_USER={{cookiecutter.project_slug}} - POSTGRES_USER={{cookiecutter.project_slug}}
{% if cookiecutter.use_docker == 'y' and cookiecutter.use_mailhog == 'y' %} {% if cookiecutter.use_mailhog == 'y' %}
mailhog: mailhog:
image: mailhog/mailhog image: mailhog/mailhog
ports: ports:
@ -33,7 +33,7 @@ services:
- "8000:8000" - "8000:8000"
links: links:
- postgres - 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' %} {% if cookiecutter.use_pycharm == 'y' %}
pycharm: pycharm:
build: build: