36 lines
940 B
YAML
36 lines
940 B
YAML
version: "3.9"
|
|
services:
|
|
backend:
|
|
build:
|
|
context: ./backend
|
|
dockerfile: Dockerfile
|
|
environment:
|
|
- IMAP_CLIENT_DB_PATH=/data/app.db
|
|
- NODE_ENV=production
|
|
- PORT=8080
|
|
- OIDC_ISSUER=https://auth.thumeit.com/.well-known/openid-configuration
|
|
- OIDC_CLIENT_ID=changeme
|
|
- OIDC_CLIENT_SECRET=changeme
|
|
- OIDC_REDIRECT_URI=http://localhost:8080/api/auth/callback
|
|
- SESSION_SECRET=dev_change_me
|
|
- FRONTEND_ORIGIN=http://localhost:5173
|
|
- OIDC_PROVIDER=AuthServer
|
|
# Optional: BING_MKT=en-US (frontend will default to en-US if unset)
|
|
volumes:
|
|
- backend_data:/data
|
|
ports:
|
|
- "8080:8080"
|
|
frontend:
|
|
build:
|
|
context: ./frontend
|
|
dockerfile: Dockerfile
|
|
environment:
|
|
- VITE_API_BASE=http://localhost:8080
|
|
- OIDC_PROVIDER=AuthServer
|
|
ports:
|
|
- "5173:80"
|
|
depends_on:
|
|
- backend
|
|
volumes:
|
|
backend_data: {}
|