mirror of
https://gitlab.sectorq.eu/home/docker-compose.git
synced 2025-12-14 18:34:53 +01:00
35 lines
850 B
YAML
35 lines
850 B
YAML
volumes:
|
|
config:
|
|
driver: local
|
|
services:
|
|
regsync:
|
|
command: -c /home/appuser/regsync.yml server
|
|
env_file:
|
|
- stack.env
|
|
image: ${DOCKER_REGISTRY:-}ghcr.io/regclient/regsync:latest
|
|
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)
|
|
stdin_open: true
|
|
volumes:
|
|
- config:/home/appuser/
|
|
- /etc/localtime:/etc/localtime
|
|
# labels:
|
|
# service_name: 'regsync'
|
|
deploy:
|
|
labels:
|
|
wud.watch: 'true'
|
|
wud.watch.digest: 'true'
|
|
service_name: 'regsync'
|
|
replicas: 1
|
|
placement:
|
|
constraints:
|
|
- node.role == manager
|