mirror of
https://gitlab.sectorq.eu/home/docker-compose.git
synced 2026-01-29 04:19:44 +01:00
build
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
services:
|
services:
|
||||||
uptime-kuma:
|
app:
|
||||||
image: ${DOCKER_REGISTRY:-}louislam/uptime-kuma:nightly2
|
image: ${DOCKER_REGISTRY:-}louislam/uptime-kuma:nightly2
|
||||||
ports:
|
ports:
|
||||||
- target: 3001
|
- target: 3001
|
||||||
@@ -9,6 +9,16 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- data:/app/data
|
- data:/app/data
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /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:
|
deploy:
|
||||||
labels:
|
labels:
|
||||||
com.centurylinklabs.watchtower.enable: 'true'
|
com.centurylinklabs.watchtower.enable: 'true'
|
||||||
|
|||||||
Reference in New Issue
Block a user