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