mirror of
https://github.com/Alexander-D-Karpov/akarpov
synced 2024-11-22 05:06:34 +03:00
added email settings to compose
This commit is contained in:
parent
f59df63dd4
commit
f6f15d3979
|
@ -6,3 +6,6 @@ USE_DOCKER=no
|
||||||
EMAIL_HOST=127.0.0.1
|
EMAIL_HOST=127.0.0.1
|
||||||
EMAIL_PORT=1025
|
EMAIL_PORT=1025
|
||||||
SENTRY_DSN=
|
SENTRY_DSN=
|
||||||
|
EMAIL_PASSWORD=
|
||||||
|
EMAIL_USER=
|
||||||
|
EMAIL_USE_SSL=false
|
||||||
|
|
|
@ -11,10 +11,6 @@ entryPoints:
|
||||||
entryPoint:
|
entryPoint:
|
||||||
to: web-secure
|
to: web-secure
|
||||||
|
|
||||||
web-secure:
|
|
||||||
# https
|
|
||||||
address: ":443"
|
|
||||||
|
|
||||||
flower:
|
flower:
|
||||||
address: ":5555"
|
address: ":5555"
|
||||||
|
|
||||||
|
@ -29,27 +25,6 @@ certificatesResolvers:
|
||||||
entryPoint: web
|
entryPoint: web
|
||||||
|
|
||||||
http:
|
http:
|
||||||
routers:
|
|
||||||
web-secure-router:
|
|
||||||
rule: "Host(`akarpov.ru`) || Host(`www.akarpov.ru`)"
|
|
||||||
entryPoints:
|
|
||||||
- web-secure
|
|
||||||
middlewares:
|
|
||||||
- csrf
|
|
||||||
service: django
|
|
||||||
tls:
|
|
||||||
# https://docs.traefik.io/master/routing/routers/#certresolver
|
|
||||||
certResolver: letsencrypt
|
|
||||||
|
|
||||||
flower-secure-router:
|
|
||||||
rule: "Host(`akarpov.ru`)"
|
|
||||||
entryPoints:
|
|
||||||
- flower
|
|
||||||
service: flower
|
|
||||||
tls:
|
|
||||||
# https://docs.traefik.io/master/routing/routers/#certresolver
|
|
||||||
certResolver: letsencrypt
|
|
||||||
|
|
||||||
middlewares:
|
middlewares:
|
||||||
csrf:
|
csrf:
|
||||||
# https://docs.traefik.io/master/middlewares/headers/#hostsproxyheaders
|
# https://docs.traefik.io/master/middlewares/headers/#hostsproxyheaders
|
||||||
|
|
|
@ -307,6 +307,18 @@
|
||||||
)
|
)
|
||||||
# https://docs.djangoproject.com/en/dev/ref/settings/#email-timeout
|
# https://docs.djangoproject.com/en/dev/ref/settings/#email-timeout
|
||||||
EMAIL_TIMEOUT = 5
|
EMAIL_TIMEOUT = 5
|
||||||
|
EMAIL_HOST_PASSWORD = env(
|
||||||
|
"EMAIL_PASSWORD",
|
||||||
|
default="",
|
||||||
|
)
|
||||||
|
EMAIL_HOST_USER = env(
|
||||||
|
"EMAIL_USER",
|
||||||
|
default="",
|
||||||
|
)
|
||||||
|
EMAIL_USE_SSL = env(
|
||||||
|
"EMAIL_USE_SSL",
|
||||||
|
default=False,
|
||||||
|
)
|
||||||
|
|
||||||
# ADMIN
|
# ADMIN
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user