initial docker setup
This commit is contained in:
19
project/infrastructure/uptime-kuma/uptime-kuma.yml
Normal file
19
project/infrastructure/uptime-kuma/uptime-kuma.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
services:
|
||||
uptime-kuma:
|
||||
extends:
|
||||
file: ${TEMPLATES_PATH}
|
||||
service: default
|
||||
image: louislam/uptime-kuma:latest
|
||||
container_name: uptime-kuma
|
||||
volumes:
|
||||
- ${INFRA_PATH}/uptime-kuma/config:/app/data
|
||||
ports:
|
||||
- 5001:3001
|
||||
labels:
|
||||
# Watchtower
|
||||
- "com.centurylinklabs.watchtower.enable=true"
|
||||
# Traefik
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.uptime-kuma.rule=Host(`uptime-kuma.${LOCAL_DOMAIN}`)"
|
||||
- "traefik.http.routers.uptime-kuma.entrypoints=https"
|
||||
- "traefik.http.routers.uptime-kuma.tls=true"
|
||||
Reference in New Issue
Block a user