Add mailpit for development
Build and Push Lunchtime Images (Kaniko) / build-and-push (push) Successful in 1m13s
Build and Push Lunchtime Images (Kaniko) / build-and-push (push) Successful in 1m13s
This commit is contained in:
+4
-4
@@ -3,13 +3,13 @@ app:
|
|||||||
|
|
||||||
email:
|
email:
|
||||||
enabled: true
|
enabled: true
|
||||||
smtp_host: "mail.example.com"
|
smtp_host: "mailpit"
|
||||||
smtp_port: 465
|
smtp_port: 1025
|
||||||
smtp_username: "lunchtime@example.com"
|
smtp_username: ""
|
||||||
smtp_password: ""
|
smtp_password: ""
|
||||||
from_address: "lunchtime@example.com"
|
from_address: "lunchtime@example.com"
|
||||||
use_tls: false
|
use_tls: false
|
||||||
use_ssl: true
|
use_ssl: false
|
||||||
|
|
||||||
announcements:
|
announcements:
|
||||||
# - type: info
|
# - type: info
|
||||||
|
|||||||
@@ -1,4 +1,16 @@
|
|||||||
services:
|
services:
|
||||||
|
mailpit:
|
||||||
|
image: axllent/mailpit:latest
|
||||||
|
container_name: lunchtime-mailpit
|
||||||
|
ports:
|
||||||
|
- "1025:1025"
|
||||||
|
- "8025:8025"
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
burger-network:
|
||||||
|
aliases:
|
||||||
|
- mailpit
|
||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
image: nginx:alpine
|
image: nginx:alpine
|
||||||
container_name: lunchtime-nginx
|
container_name: lunchtime-nginx
|
||||||
@@ -25,11 +37,15 @@ services:
|
|||||||
- APP_ENV=production
|
- APP_ENV=production
|
||||||
- LOG_LEVEL=info
|
- LOG_LEVEL=info
|
||||||
- DB_PATH=/app/data
|
- DB_PATH=/app/data
|
||||||
|
- SMTP_HOST=mailpit
|
||||||
|
- SMTP_PORT=1025
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
burger-network:
|
burger-network:
|
||||||
aliases:
|
aliases:
|
||||||
- backend
|
- backend
|
||||||
|
depends_on:
|
||||||
|
- mailpit
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
build:
|
build:
|
||||||
|
|||||||
Reference in New Issue
Block a user