Files
dotfiles/config/ansible/tasks/servers/services/uptime-kuma/docker-compose.yml.j2
Menno van Leeuwen 6d1aa11feb
Some checks failed
Python Lint Check / check-python (push) Waiting to run
Ansible Lint Check / check-ansible (push) Failing after 14s
Nix Format Check / check-format (push) Has been cancelled
fix: add extra_hosts configuration for Uptime Kuma service in docker-compose template
2025-03-25 15:22:17 +01:00

23 lines
482 B
Django/Jinja

services:
uptime-kuma:
image: louislam/uptime-kuma:latest
restart: unless-stopped
volumes:
- {{ uptime_kuma_data_dir }}:/app/data
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
- PUID=1000
- PGID=100
- TZ=Europe/Amsterdam
ports:
- "3001:3001"
extra_hosts:
- "host.docker.internal:host-gateway"
networks:
- caddy_network
networks:
caddy_network:
external: true
name: caddy_default