mirror of
https://gitlab.sectorq.eu/home/docker-compose.git
synced 2026-01-29 04:19:44 +01:00
32 lines
770 B
YAML
32 lines
770 B
YAML
services:
|
|
app:
|
|
image: ${DOCKER_REGISTRY:-}louislam/uptime-kuma:nightly2
|
|
ports:
|
|
- target: 3001
|
|
published: 3001
|
|
protocol: tcp
|
|
mode: ingress
|
|
volumes:
|
|
- data:/app/data
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
logging:
|
|
driver: loki
|
|
options:
|
|
loki-url: http://192.168.77.101:3100/loki/api/v1/push
|
|
loki-relabel-config: |
|
|
- action: labelmap
|
|
regex: swarm_stack
|
|
replacement: namespace
|
|
- action: labelmap
|
|
regex: swarm_(service)
|
|
deploy:
|
|
labels:
|
|
com.centurylinklabs.watchtower.enable: 'true'
|
|
wud.watch: 'true'
|
|
wud.watch.digest: 'true'
|
|
replicas: 1
|
|
restart_policy:
|
|
condition: any
|
|
volumes:
|
|
data:
|