Files
gps-router/docker-compose.yml
2025-09-23 23:00:56 +00:00

41 lines
841 B
YAML

version: "3.8"
services:
gps-router:
build: .
container_name: gps-logger-router
ports:
- "3069:3069"
environment:
# Dawarich configuration (OPTIONAL - leave empty if not using)
- DAWARICH_URL=
- DAWARICH_TOKEN=
# Home Assistant configuration (REQUIRED)
- HOMEASSISTANT_URL=
- HOMEASSISTANT_TOKEN=
- HA_DEVICE_TRACKER_ID=
# Optional basic authentication
- AUTH_USERNAME=
- AUTH_PASSWORD=
# Server configuration
- PORT=
restart: unless-stopped
healthcheck:
test:
[
"CMD",
"wget",
"--no-verbose",
"--tries=1",
"-O",
"/dev/null",
"http://localhost:3069/health",
]
interval: 300s
timeout: 10s
retries: 3
start_period: 40s