添加 deployment/rancher.docker-compose.yaml

This commit is contained in:
loveuer 2024-04-07 15:00:21 +08:00
parent ed5324326f
commit ce929806a6

View File

@ -0,0 +1,22 @@
version: '3.9'
services:
rancher:
image: rancher/rancher
container_name: rancher
privileged: true
restart: always
# environment:
# - SSL_CERT_DIR=/apps/ssl
extra_hosts:
- "raw.githubusercontent.com:185.199.109.133"
- "repository.umisen.com:10.220.10.17"
volumes:
# - ./registries.yaml:/etc/rancher/k3s/registries.yaml
- ./data:/data
ports:
- "20443:443"
- "443:30443"
- "80:30080"
- "30900-31000:30900-31000"
user: root