mirror of
https://gitlab.sectorq.eu/home/docker-compose.git
synced 2026-01-28 20:09:44 +01:00
build
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
services:
|
||||
uptime-kuma:
|
||||
app:
|
||||
image: ${DOCKER_REGISTRY:-}louislam/uptime-kuma:nightly2
|
||||
ports:
|
||||
- target: 3001
|
||||
@@ -9,6 +9,16 @@ services:
|
||||
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'
|
||||
|
||||
Reference in New Issue
Block a user