Florian Zirker
38f5ac4406
- Influxdb (1.8) behind traefik proxy so that telegraf can run in host_mode. Secured with HTTP basic auth - Grafana (7.4) with Postgres database for beatifull dashboards - Telegraf (1.18) in docker host mode with local configuration file - Added docker.group to all other docker services to track them in monitoring
22 lines
557 B
YAML
22 lines
557 B
YAML
version: "3.3"
|
|
|
|
services:
|
|
|
|
app:
|
|
image: nginx
|
|
volumes:
|
|
- ${HTML}:/usr/share/nginx/html:ro
|
|
networks:
|
|
- web
|
|
restart: unless-stopped
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.web-secure.entrypoints=websecure"
|
|
- "traefik.http.routers.web-secure.rule=Host(`${DOMAIN}`) || Host(`www.${DOMAIN}`)"
|
|
- "traefik.http.routers.web-secure.tls.certresolver=netcup"
|
|
- "traefik.http.routers.web-secure.tls.options=intermediate@file"
|
|
- "docker.group=www"
|
|
|
|
networks:
|
|
web:
|
|
external: true
|