添加 deployment/rancher.docker-compose.yaml
This commit is contained in:
parent
ed5324326f
commit
ce929806a6
22
deployment/rancher.docker-compose.yaml
Normal file
22
deployment/rancher.docker-compose.yaml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user