-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
52 lines (49 loc) · 1.64 KB
/
Copy pathdocker-compose.yml
File metadata and controls
52 lines (49 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
services:
app:
build: .
ports:
- "8090:8090"
volumes:
- pb_data:/app/pb_data
environment:
- ENVIRONMENT=production
- FIRST_SUPERUSER=${FIRST_SUPERUSER:?FIRST_SUPERUSER is required}
- FIRST_SUPERUSER_PASSWORD=${FIRST_SUPERUSER_PASSWORD:?FIRST_SUPERUSER_PASSWORD is required}
- FIREBASE_SERVICE_ACCOUNT_JSON=${FIREBASE_SERVICE_ACCOUNT_JSON:-}
- GOOGLE_CLIENT_ID=${GOOGLE_CLIENT_ID:-}
- GOOGLE_CLIENT_SECRET=${GOOGLE_CLIENT_SECRET:-}
- GITHUB_CLIENT_ID=${GITHUB_CLIENT_ID:-}
- GITHUB_CLIENT_SECRET=${GITHUB_CLIENT_SECRET:-}
- QVAPAY_APP_ID=${QVAPAY_APP_ID:-}
- QVAPAY_APP_SECRET=${QVAPAY_APP_SECRET:-}
- WEBHOOK_ENCRYPTION_KEY=${WEBHOOK_ENCRYPTION_KEY:?WEBHOOK_ENCRYPTION_KEY is required}
- APP_URL=${APP_URL:-http://localhost:8090}
- FRONTEND_URL=${FRONTEND_URL:-http://localhost:8090}
restart: unless-stopped
mailcatcher:
image: schickling/mailcatcher
ports:
- "1080:1080" # Web UI
- "1025:1025" # SMTP
profiles:
- dev
modem-agent:
build: ./modem-agent
profiles:
- modem
volumes:
# Copy modems.example.yaml to modems.yaml and fill in your device API keys
- ./modem-agent/modems.yaml:/app/modems.yaml:ro
environment:
- VENDEL_URL=http://app:8090
# Plain http is acceptable here: traffic never leaves the docker bridge
- VENDEL_ALLOW_INSECURE_HTTP=1
devices:
# Map your modem's serial ports (adjust to match your hardware)
- /dev/ttyUSB0:/dev/ttyUSB0
- /dev/ttyUSB1:/dev/ttyUSB1
depends_on:
- app
restart: unless-stopped
volumes:
pb_data: