mirror of
https://gitlab.sectorq.eu/home/docker-compose.git
synced 2025-12-14 10:24:53 +01:00
build
This commit is contained in:
26
__swarm/regsync/regsync-swarm.yml
Normal file
26
__swarm/regsync/regsync-swarm.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
volumes:
|
||||
regsync:
|
||||
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
|
||||
network_mode: host
|
||||
stdin_open: true
|
||||
volumes:
|
||||
- regsync:/home/appuser/
|
||||
- /etc/localtime:/etc/localtime
|
||||
deploy:
|
||||
labels:
|
||||
wud.watch: 'true'
|
||||
wud.watch.digest: 'true'
|
||||
replicas: 1
|
||||
placement:
|
||||
constraints:
|
||||
- node.role == manager
|
||||
Reference in New Issue
Block a user