mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-13 00:14:52 +03:00
updated docker image and its local settings
This commit is contained in:
parent
e06a3335e8
commit
36e22d7d0b
|
@ -27,7 +27,7 @@ CACHES = {
|
|||
# ------------------------------------------------------------------------------
|
||||
{% if cookiecutter.use_mailhog == 'y' and cookiecutter.use_docker == 'y' -%}
|
||||
# https://docs.djangoproject.com/en/dev/ref/settings/#email-host
|
||||
EMAIL_HOST = env("EMAIL_HOST", default="mailhog")
|
||||
EMAIL_HOST = env("EMAIL_HOST", default="mailpit")
|
||||
# https://docs.djangoproject.com/en/dev/ref/settings/#email-port
|
||||
EMAIL_PORT = 1025
|
||||
{%- elif cookiecutter.use_mailhog == 'y' and cookiecutter.use_docker == 'n' -%}
|
||||
|
|
|
@ -57,9 +57,9 @@ services:
|
|||
command: /start-docs
|
||||
{%- if cookiecutter.use_mailhog == 'y' %}
|
||||
|
||||
mailhog:
|
||||
image: mailhog/mailhog:v1.0.0
|
||||
container_name: {{ cookiecutter.project_slug }}_local_mailhog
|
||||
mailpit:
|
||||
image: axllent/mailpit:v1.8
|
||||
container_name: {{ cookiecutter.project_slug }}_local_mailpit
|
||||
ports:
|
||||
- "8025:8025"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user