refactor(app): add email environment variable

This commit is contained in:
Sergey Krylov 2023-09-05 22:46:09 +03:00
parent aef446c540
commit 86c021ecf6
2 changed files with 16 additions and 4 deletions

View File

@ -18,6 +18,11 @@ services:
- ./arkids-main-app-backend/src:/app-backend/src
networks:
- arkids-network
environment:
EMAIL_LOGIN: 'ksv741-test@yandex.ru'
EMAIL_PASSWORD: 'vytjrxwzqcnmbpja'
EMAIL_HOST: 'smtp.yandex.ru'
EMAIL_PORT: 465
frontend:
image: arkids-main-frontend:development
@ -39,8 +44,9 @@ services:
depends_on:
- backend
environment:
BACKEND_API_HOST: 'arkids-main-backend-development'
BACKEND_API_PORT: 5000
SERVER_SIDE_BACKEND_API_PORT: '5000'
SERVER_SIDE_BACKEND_API_HOST: 'arkids-main-backend-development'
BACKEND_API_HOST: 'localhost'
nginx:
image: nginx:stable-alpine

View File

@ -13,6 +13,11 @@ services:
- '5000:5000'
networks:
- arkids-network
environment:
EMAIL_LOGIN: 'ksv741-test@yandex.ru'
EMAIL_PASSWORD: 'vytjrxwzqcnmbpja'
EMAIL_HOST: 'smtp.yandex.ru'
EMAIL_PORT: 465
frontend:
image: arkids-main-frontend:0.1.0
@ -31,8 +36,9 @@ services:
depends_on:
- backend
environment:
BACKEND_API_HOST: 'arkids-main-backend-production'
BACKEND_API_PORT: 5000
SERVER_SIDE_BACKEND_API_PORT: '5000'
SERVER_SIDE_BACKEND_API_HOST: 'arkids-main-backend-production'
BACKEND_API_HOST: 'arkids.ru'
nginx:
image: nginx:stable-alpine