Fix build command in Dockerfile

This commit is contained in:
2025-10-16 21:45:17 -07:00
parent 0749c6a6d3
commit 46b6008981
2 changed files with 7 additions and 8 deletions
+3 -4
View File
@@ -9,20 +9,19 @@ services:
ports:
- "8080:8080" # REST API
- "50051:50051" # gRPC
- "9090:9090" # Metrics
- "8081:8081" # Health check
- "9090:9090" # Metrics (future)
- "8081:8081" # Health check (future)
volumes:
- ./config.yaml:/app/config.yaml:ro
- notifier-data:/var/lib/notifier
environment:
- NOTIFIER_SERVER_MODE=both
- NOTIFIER_LOGGING_LEVEL=info
- NOTIFIER_LOGGING_FORMAT=json
restart: unless-stopped
networks:
- notifier-net
healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:8081/health"]
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:8080/health"]
interval: 30s
timeout: 10s
retries: 3