mirror of
https://gitlab.sectorq.eu/home/docker-compose.git
synced 2025-12-14 18:34:53 +01:00
30 lines
681 B
YAML
30 lines
681 B
YAML
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
|
|
security_opt:
|
|
- seccomp:unconfined # disable seccomp profile
|
|
cap_add:
|
|
- ALL # add all capabilities
|
|
deploy:
|
|
labels:
|
|
wud.watch: 'true'
|
|
wud.watch.digest: 'true'
|
|
replicas: 1
|
|
placement:
|
|
constraints:
|
|
- node.role == manager
|
|
volumes:
|
|
data: |