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:
27
__swarm/rancher/rancher-swarm.yml
Normal file
27
__swarm/rancher/rancher-swarm.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
name: rancher
|
||||
services:
|
||||
rancher:
|
||||
command: --acme-domain rancher.sectorq.eu
|
||||
image: ${DOCKER_REGISTRY:-}rancher/rancher:latest
|
||||
ports:
|
||||
- target: 80
|
||||
published: 7080
|
||||
protocol: tcp
|
||||
mode: ingress
|
||||
- target: 443
|
||||
published: 7443
|
||||
protocol: tcp
|
||||
mode: ingress
|
||||
privileged: true
|
||||
volumes:
|
||||
- data:/var/lib/rancher
|
||||
deploy:
|
||||
labels:
|
||||
wud.watch: 'true'
|
||||
wud.watch.digest: 'true'
|
||||
replicas: 1
|
||||
placement:
|
||||
constraints:
|
||||
- node.role == manager
|
||||
volumes:
|
||||
data:
|
||||
Reference in New Issue
Block a user