23 lines
744 B
YAML
23 lines
744 B
YAML
# {{ ansible_managed }}
|
|
|
|
version: '3.1'
|
|
|
|
services:
|
|
uptimekuma:
|
|
image: louislam/uptime-kuma:{{ docker_uptimekuma_version }}
|
|
restart: always
|
|
volumes:
|
|
- {{ docker_uptimekuma_data_dir }}/{{ docker_uptimekuma_service_id }}/uptimekuma:/app/data
|
|
networks:
|
|
- traefik
|
|
labels:
|
|
- "org.label-schema.group=monitoring"
|
|
- "traefik.enable=true"
|
|
- "traefik.docker.network=traefik"
|
|
- "traefik.http.routers.{{ docker_uptimekuma_service_id }}.entrypoints=web"
|
|
- "traefik.http.routers.{{ docker_uptimekuma_service_id }}.rule=Host(`{{ docker_uptimekuma_fqdn }}`)"
|
|
- "traefik.http.services.{{ docker_uptimekuma_service_id }}.loadbalancer.server.port=3001"
|
|
|
|
networks:
|
|
traefik:
|
|
external: true
|