This repository has been archived by the owner on Jul 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Config
雾雨 edited this page Jul 22, 2020
·
28 revisions
- ETCD endpoints addresses is required, you may put multiple address split by a comma
ETCD_ENDPOINTS=http://192.168.0.2:2379,http://192.168.0.3:2379
- The host address of barrel start with protocol schema and split by comma
- If you want to enable https, you should also provided with tls certs(see section #TLS certs )
- If you want docker cli to use barrel socket as dockerd socket, you should set it as unix:///var/run/docker.sock, and change dockerd socket to something else
- If leave black, default value is described below
# the following line is the default host address of barrel, you may leave it blank
BARREL_HOSTS=unix:///var/run/barrel.sock,https://127.0.0.1:8888
- If you want to use barrel unix socket to replace default dockerd unix socket, you should change dockerd unix socket to some value else(under /etc/docker/daemon.json), and also set it here
# the following line is the default value dockerd unix socket path, you may leave it blank
DOCKERD_SOCKET_PATH=/var/run/docker.sock
- If you want to enable tls certs, fill the fields below
BARREL_TLS_CERT_FILE_PATH=${path-to-cert-file}
BARREL_TLS_KEY_FILE_PATH=${path-to-cert-key-file}
- Indicates fetch fixed ip from which network, you may check it by
docker network ls
- Requried for inherit ip from container without label
MINIONS_IP_POOL_NAMES=clouddev