-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.quick-start.yml
More file actions
48 lines (45 loc) · 1.03 KB
/
docker-compose.quick-start.yml
File metadata and controls
48 lines (45 loc) · 1.03 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
version: '3.8'
services:
dommate:
image: ghcr.io/yeagoo/dommate:latest
container_name: dommate
restart: unless-stopped
ports:
- "3001:3001"
volumes:
- dommate-data:/app/data
- dommate-logs:/app/logs
- dommate-backups:/app/backups
environment:
- NODE_ENV=production
- SERVER_HOST=0.0.0.0
- SERVER_PORT=3001
- DATABASE_PATH=/app/data/domains.db
- BACKUP_DIR=/app/data/backups
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3001/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
labels:
- "com.dommate.service=main"
- "com.dommate.version=latest"
volumes:
dommate-data:
driver: local
labels:
- "com.dommate.volume=data"
dommate-logs:
driver: local
labels:
- "com.dommate.volume=logs"
dommate-backups:
driver: local
labels:
- "com.dommate.volume=backups"
networks:
default:
name: dommate-network
labels:
- "com.dommate.network=main"