Files
docker-compose-collection/composes-files/uptime-kuma.yml
Mickael PAPAMICA Asseline e6e9ccfa11 change images to my cdn
2022-09-02 13:31:54 +02:00

43 lines
1.3 KiB
YAML

# Maintainer: Mickael "PAPAMICA" Asseline
# Update: 2022-05-21
#& type: 3
#& title: Uptime Kuma
#& description: Alternative to Uptime Robot
#& note: Website: <a href='https://github.com/louislam/uptime-kuma' target='_blank' rel='noopener'>Github.com</a>
#& categories: SelfHosted, Monitoring, PAPAMICA
#& platform: linux
#& logo: https://img.papamica.com/logo/uptimekuma.svg
#% SERVICE: Name of the service (No spaces or points) [uptime]
#% DATA_LOCATION: Data localization (Example: /apps/service) [/_data/apps]
#% URL: Service URL (Example: service.papamica.fr or service.com)
#% NETWORK: Your Traefik network (Example: proxy) [proxy]
# Work with Portainer
services:
uptime:
image: louislam/uptime-kuma:latest
container_name: uptime
restart: always
volumes:
- /$DATA_LOCATION/$SERVICE/:/app/data
environment:
- PUID=1000
- PGID=1000
networks:
- default
labels:
- "autoupdate=monitor" # https://github.com/PAPAMICA/container-updater
- "traefik.enable=true"
- "traefik.http.routers.uptime.rule=Host(`$URL`)"
- "traefik.http.routers.uptime.tls.certresolver=http"
- "traefik.http.services.uptime.loadbalancer.server.port=3001"
- "traefik.docker.network=$NETWORK"
networks:
default:
external:
name: $NETWORK