From 7b5a0df31a2c93cbc2cd47940fa911bb985a769c Mon Sep 17 00:00:00 2001 From: jaydee Date: Mon, 1 Dec 2025 23:01:04 +0100 Subject: [PATCH] build --- __swarm/rancher/rancher-swarm.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 __swarm/rancher/rancher-swarm.yml diff --git a/__swarm/rancher/rancher-swarm.yml b/__swarm/rancher/rancher-swarm.yml new file mode 100644 index 0000000..e7db16e --- /dev/null +++ b/__swarm/rancher/rancher-swarm.yml @@ -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: \ No newline at end of file