mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix: smtp config
This commit is contained in:
@@ -30,13 +30,15 @@ MONGO_PASSWORD=dev_only
|
||||
MONGO_URI=mongodb://${MONGO_USER}:${MONGO_PASSWORD}@mongo:27017/
|
||||
MONGO_DB=hexabot
|
||||
|
||||
# SMTP Config for local dev env
|
||||
# SMTP Config (for local dev env, use smtp4dev by doing `make start SMTP4DEV=1`)
|
||||
APP_SMTP_4_DEV_PORT=9002
|
||||
EMAIL_SMTP_ENABLED=false
|
||||
EMAIL_SMTP_HOST=smtp4dev
|
||||
EMAIL_SMTP_PORT=25
|
||||
EMAIL_SMTP_SECURE=false
|
||||
EMAIL_SMTP_USER=dev_only
|
||||
EMAIL_SMTP_PASS=dev_only
|
||||
EMAIL_SMTP_FROM=noreply@example.com
|
||||
|
||||
# NLU Server
|
||||
AUTH_TOKEN=token123
|
||||
|
||||
@@ -17,21 +17,6 @@ services:
|
||||
#- ../api/node_modules:/app/node_modules
|
||||
command: ["npm", "run", "start:debug"]
|
||||
|
||||
smtp4dev:
|
||||
image: rnwood/smtp4dev:v3
|
||||
restart: always
|
||||
ports:
|
||||
- ${APP_SMTP_4_DEV_PORT}:80
|
||||
- "25:25"
|
||||
- "143:143"
|
||||
volumes:
|
||||
- smtp4dev-data:/smtp4dev
|
||||
environment:
|
||||
- ServerOptions__HostName=smtp4dev
|
||||
- ServerOptions__LockSettings=true
|
||||
networks:
|
||||
- db-network
|
||||
|
||||
mongo-express:
|
||||
container_name: mongoUi
|
||||
image: mongo-express:1-20
|
||||
@@ -52,6 +37,3 @@ services:
|
||||
- ../widget/src:/app/src
|
||||
ports:
|
||||
- ${APP_WIDGET_PORT}:5173
|
||||
|
||||
volumes:
|
||||
smtp4dev-data:
|
||||
|
||||
20
docker/docker-compose.smtp4dev.yml
Normal file
20
docker/docker-compose.smtp4dev.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
smtp4dev:
|
||||
image: rnwood/smtp4dev:v3
|
||||
restart: always
|
||||
ports:
|
||||
- ${APP_SMTP_4_DEV_PORT}:80
|
||||
- "25:25"
|
||||
- "143:143"
|
||||
volumes:
|
||||
- smtp4dev-data:/smtp4dev
|
||||
environment:
|
||||
- ServerOptions__HostName=smtp4dev
|
||||
- ServerOptions__LockSettings=true
|
||||
networks:
|
||||
- app-network
|
||||
|
||||
volumes:
|
||||
smtp4dev-data:
|
||||
Reference in New Issue
Block a user