traewelling-exporter/docker-compose.yml

24 lines
516 B
YAML
Raw Normal View History

2025-03-09 23:25:18 +01:00
version: '3.8'
services:
traewelling-metrics:
build:
context: go/.
dockerfile: Dockerfile
#no_cache: true
2025-03-09 23:25:18 +01:00
#ports:
# - "8080:8080" # Exponiere Port 8080 für Prometheus-Scraping
restart: always # Neustart bei Fehlern oder Updates
environment:
- TRAEWELLING_TOKEN=${TRAEWELLING_TOKEN}
2025-03-10 00:07:11 +01:00
- TRAEWELLING_USERNAMES=${TRAEWELLING_USERNAMES}
- PORT=8080
2025-03-09 23:25:18 +01:00
networks:
default:
dns:
ipv4_address: 172.28.0.245
networks:
dns:
external: true