2023-02-15 21:45:31 +00:00
|
|
|
services:
|
2024-11-04 12:08:51 +00:00
|
|
|
|
2023-02-15 21:45:31 +00:00
|
|
|
app:
|
2024-11-04 12:08:51 +00:00
|
|
|
image: louislam/uptime-kuma
|
2023-02-15 21:45:31 +00:00
|
|
|
container_name: uptime-kuma
|
|
|
|
hostname: uptime-kuma
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 3001:3001
|
2024-06-05 08:34:59 +00:00
|
|
|
expose:
|
|
|
|
- 3001
|
2023-02-15 21:45:31 +00:00
|
|
|
dns:
|
|
|
|
- 1.1.1.1
|
|
|
|
- 8.8.8.8
|
|
|
|
volumes:
|
2023-02-25 13:09:52 +00:00
|
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/uptimekuma:/app/data
|
2023-02-26 02:46:10 +00:00
|
|
|
#networks:
|
|
|
|
# - proxy
|
|
|
|
#labels:
|
|
|
|
# - traefik.enable=true
|
2024-11-04 12:08:51 +00:00
|
|
|
# - traefik.docker.network=proxy
|
2023-02-26 02:46:10 +00:00
|
|
|
# - traefik.http.routers.uptimekuma.rule=Host(`uptimekuma.example.com`)
|
|
|
|
# - traefik.http.services.uptimekuma.loadbalancer.server.port=3001
|
|
|
|
# # Part for local lan services only
|
|
|
|
# #- traefik.http.routers.uptimekuma.middlewares=local-ipwhitelist@file
|
|
|
|
|
|
|
|
#networks:
|
|
|
|
# proxy:
|
|
|
|
# external: true
|