-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
29 lines (28 loc) · 941 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
29 lines (28 loc) · 941 Bytes
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
services:
groly:
image: ghcr.io/peterthepeter/groly:latest
# Zum lokalen Bauen: build: .
ports:
- "3000:3000"
volumes:
- groly-data:/app/data
environment:
- NODE_ENV=production
- DATABASE_URL=/app/data/groly.db
- ADMIN_USERNAME=${ADMIN_USERNAME:-admin}
- ADMIN_PASSWORD=${ADMIN_PASSWORD:-changeme123}
- ORIGIN=${ORIGIN:-}
# Web Push (VAPID) - Keys generieren mit:
# node -e "const wp=require('web-push'); const k=wp.generateVAPIDKeys(); console.log(k)"
- VAPID_PUBLIC_KEY=${VAPID_PUBLIC_KEY:-}
- VAPID_PRIVATE_KEY=${VAPID_PRIVATE_KEY:-}
- VAPID_SUBJECT=${VAPID_SUBJECT:-mailto:admin@groly.local}
- PUBLIC_VAPID_PUBLIC_KEY=${VAPID_PUBLIC_KEY:-}
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:3000/api/auth/me"]
interval: 30s
timeout: 5s
retries: 3
volumes:
groly-data: