Skip to content

Commit

Permalink
updated email
Browse files Browse the repository at this point in the history
  • Loading branch information
blakkheart committed May 1, 2024
1 parent d5138ab commit 90b2806
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion backend/config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,8 @@
EMAIL_PORT = os.getenv("EMAIL_PORT", 465)
EMAIL_HOST_USER = os.getenv("EMAIL_HOST_USER", "")
EMAIL_HOST_PASSWORD = os.getenv("EMAIL_HOST_PASSWORD", "")
EMAIL_USE_SSL = os.getenv("EMAIL_USE_SSL", "True")
EMAIL_USE_SSL = strtobool(os.getenv("EMAIL_USE_SSL", "False"))
EMAIL_USE_TLS = strtobool(os.getenv("EMAIL_USE_TLS", "False"))

# logging
IS_LOGGING = strtobool(os.getenv("IS_LOGGING", default="False"))
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ services:
- MINIO_SERVER_URL=https://running.myddns.me:9000
volumes:
- ./minio:/minio_files
- /home/capwell/diary-training/minio/certs/:/opt/minio/certs
- /home/web/diary-training/minio/certs/:/opt/minio/certs
env_file: .env
command: 'minio server --certs-dir /opt/minio/certs /minio_files --console-address ":9001"'
ports:
Expand Down
4 changes: 2 additions & 2 deletions infra/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ SECRET_KEY=secret_key
ALLOWED_HOSTS=localhost,127.0.0.1
CSRF_TRUSTED_ORIGINS=http://127.0.0.1,
IS_LOGGING=False
DEBUG=True

# Переменная ports для разработки
DOCKER_COMPOSER_PORT_DB=127.0.0.1:5432:5432
Expand All @@ -40,8 +41,7 @@ EMAIL_PORT=465
EMAIL_HOST_USER='mail@yandex.ru'
EMAIL_HOST_PASSWORD=password
EMAIL_USE_SSL=True

DEBUG=True
EMAIL_USE_TLS=False


# S3 config with Minio
Expand Down

0 comments on commit 90b2806

Please sign in to comment.