2015-07-29 06:52:15 +00:00
|
|
|
rancher:
|
2017-07-28 03:27:40 +00:00
|
|
|
shutdown_timeout: 60
|
2019-12-19 07:03:05 +00:00
|
|
|
http_load_retries: 6
|
2016-06-30 01:39:12 +00:00
|
|
|
environment:
|
|
|
|
VERSION: {{.VERSION}}
|
|
|
|
SUFFIX: {{.SUFFIX}}
|
2018-03-06 10:07:21 +00:00
|
|
|
REGISTRY_DOMAIN: "docker.io"
|
2016-05-03 15:55:15 +00:00
|
|
|
defaults:
|
|
|
|
hostname: {{.HOSTNAME_DEFAULT}}
|
2017-01-18 12:09:46 +00:00
|
|
|
{{if eq "amd64" .ARCH -}}
|
2016-08-26 18:23:34 +00:00
|
|
|
docker:
|
2018-12-04 06:48:09 +00:00
|
|
|
engine: {{.USER_DOCKER_ENGINE_VERSION}}
|
2017-01-18 12:09:46 +00:00
|
|
|
{{else -}}
|
|
|
|
docker:
|
2018-12-04 06:48:09 +00:00
|
|
|
engine: {{.USER_DOCKER_ENGINE_VERSION}}
|
2017-01-18 12:09:46 +00:00
|
|
|
{{end -}}
|
2016-05-03 15:55:15 +00:00
|
|
|
network:
|
2018-10-22 02:11:12 +00:00
|
|
|
dhcp_timeout: 10
|
2016-05-03 15:55:15 +00:00
|
|
|
dns:
|
|
|
|
nameservers: [8.8.8.8, 8.8.4.4]
|
2018-10-10 08:37:17 +00:00
|
|
|
system_docker_logs: /var/log/system-docker.log
|
2017-07-17 01:15:54 +00:00
|
|
|
ssh:
|
|
|
|
daemon: true
|
2017-07-17 11:14:45 +00:00
|
|
|
hypervisor_service: true
|
2018-12-14 07:39:41 +00:00
|
|
|
services_include:
|
2018-12-28 08:48:04 +00:00
|
|
|
{{- if eq "true" .AZURE_SERVICE}}
|
2018-12-14 07:39:41 +00:00
|
|
|
waagent: true
|
2019-01-02 10:35:39 +00:00
|
|
|
{{- end}}
|
2019-01-22 02:00:55 +00:00
|
|
|
{{- if eq "true" .PROXMOXVE_SERVICE}}
|
|
|
|
qemu-guest-agent: true
|
|
|
|
{{- end}}
|
2015-07-29 06:52:15 +00:00
|
|
|
bootstrap:
|
2016-10-17 21:47:44 +00:00
|
|
|
bootstrap:
|
|
|
|
image: {{.OS_REPO}}/os-bootstrap:{{.VERSION}}{{.SUFFIX}}
|
2017-09-13 06:02:53 +00:00
|
|
|
command: ros-bootstrap
|
2015-07-29 06:52:15 +00:00
|
|
|
labels:
|
2015-11-26 12:41:42 +00:00
|
|
|
io.rancher.os.detach: "false"
|
2015-07-29 06:52:15 +00:00
|
|
|
io.rancher.os.scope: system
|
|
|
|
log_driver: json-file
|
|
|
|
net: none
|
|
|
|
privileged: true
|
|
|
|
volumes:
|
|
|
|
- /dev:/host/dev
|
|
|
|
- /lib/modules:/lib/modules
|
|
|
|
- /lib/firmware:/lib/firmware
|
2016-08-01 02:48:10 +00:00
|
|
|
- /usr/bin/ros:/usr/bin/ros:ro
|
2017-09-13 06:02:53 +00:00
|
|
|
- /usr/bin/ros:/usr/bin/ros-bootstrap:ro
|
2016-10-17 21:47:44 +00:00
|
|
|
- /usr/share/ros:/usr/share/ros:ro
|
2017-01-20 07:02:48 +00:00
|
|
|
- /var/lib/rancher:/var/lib/rancher:ro
|
2017-07-18 04:13:11 +00:00
|
|
|
- /var/log:/var/log
|
2016-11-09 19:08:30 +00:00
|
|
|
cloud_init_services:
|
|
|
|
cloud-init:
|
|
|
|
image: {{.OS_REPO}}/os-base:{{.VERSION}}{{.SUFFIX}}
|
|
|
|
command: cloud-init-save
|
|
|
|
labels:
|
|
|
|
io.rancher.os.detach: "false"
|
|
|
|
io.rancher.os.scope: system
|
|
|
|
log_driver: json-file
|
|
|
|
net: host
|
|
|
|
uts: host
|
|
|
|
pid: host
|
|
|
|
ipc: host
|
|
|
|
privileged: true
|
|
|
|
volumes:
|
2017-08-28 04:22:50 +00:00
|
|
|
- /etc/resolv.conf:/etc/resolv.conf
|
2016-11-09 19:08:30 +00:00
|
|
|
- /dev:/host/dev
|
|
|
|
- /etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt.rancher
|
|
|
|
- /lib/modules:/lib/modules
|
|
|
|
- /lib/firmware:/lib/firmware
|
|
|
|
- /usr/bin/ros:/usr/bin/ros:ro
|
|
|
|
- /usr/bin/ros:/usr/bin/cloud-init-save
|
|
|
|
- /usr/share/ros:/usr/share/ros:ro
|
|
|
|
- /var/lib/rancher:/var/lib/rancher
|
|
|
|
- /var/lib/rancher/conf:/var/lib/rancher/conf
|
2017-07-18 04:13:11 +00:00
|
|
|
- /var/log:/var/log
|
2015-07-29 06:52:15 +00:00
|
|
|
bootstrap_docker:
|
2016-09-26 00:55:19 +00:00
|
|
|
bridge: none
|
2018-02-27 09:49:24 +00:00
|
|
|
storage_driver: overlay2
|
2016-09-26 00:55:19 +00:00
|
|
|
restart: false
|
|
|
|
graph: /var/lib/system-docker
|
|
|
|
group: root
|
2016-10-30 19:07:55 +00:00
|
|
|
host: ["unix:///var/run/system-docker.sock"]
|
2016-09-26 00:55:19 +00:00
|
|
|
userland_proxy: false
|
2018-12-18 08:47:42 +00:00
|
|
|
console: {{.OS_CONSOLE}}
|
2015-07-29 06:52:15 +00:00
|
|
|
cloud_init:
|
|
|
|
datasources:
|
|
|
|
- configdrive:/media/config-2
|
|
|
|
repositories:
|
|
|
|
core:
|
2016-07-01 17:13:52 +00:00
|
|
|
url: {{.OS_SERVICES_REPO}}/{{.REPO_VERSION}}
|
2015-07-29 06:52:15 +00:00
|
|
|
state:
|
|
|
|
fstype: auto
|
2015-12-20 05:26:09 +00:00
|
|
|
oem_fstype: auto
|
|
|
|
oem_dev: LABEL=RANCHER_OEM
|
2018-09-30 06:30:25 +00:00
|
|
|
boot_fstype: auto
|
|
|
|
boot_dev: LABEL=RANCHER_BOOT
|
2018-09-14 08:34:09 +00:00
|
|
|
rngd: true
|
2016-08-12 18:05:16 +00:00
|
|
|
sysctl:
|
|
|
|
fs.file-max: 1000000000
|
2015-07-29 06:52:15 +00:00
|
|
|
services:
|
2018-02-27 09:49:24 +00:00
|
|
|
command-volumes:
|
|
|
|
image: {{.OS_REPO}}/os-base:{{.VERSION}}{{.SUFFIX}}
|
|
|
|
command: echo
|
2015-07-29 06:52:15 +00:00
|
|
|
labels:
|
2018-02-27 09:49:24 +00:00
|
|
|
io.rancher.os.createonly: "true"
|
2015-07-29 06:52:15 +00:00
|
|
|
io.rancher.os.scope: system
|
2018-02-27 09:49:24 +00:00
|
|
|
log_driver: json-file
|
|
|
|
net: none
|
2015-07-29 06:52:15 +00:00
|
|
|
privileged: true
|
2018-02-27 09:49:24 +00:00
|
|
|
read_only: true
|
|
|
|
volumes:
|
|
|
|
- /usr/bin/ros:/usr/bin/ros:ro
|
|
|
|
- /usr/bin/system-docker:/usr/bin/system-docker:ro
|
|
|
|
- /usr/bin/system-docker-runc:/usr/bin/system-docker-runc:ro
|
|
|
|
system-volumes:
|
|
|
|
image: {{.OS_REPO}}/os-base:{{.VERSION}}{{.SUFFIX}}
|
|
|
|
command: echo
|
|
|
|
labels:
|
|
|
|
io.rancher.os.createonly: "true"
|
|
|
|
io.rancher.os.scope: system
|
|
|
|
log_driver: json-file
|
|
|
|
net: none
|
|
|
|
privileged: true
|
|
|
|
read_only: true
|
|
|
|
volumes:
|
|
|
|
- /dev:/host/dev
|
|
|
|
- /etc/docker:/etc/docker
|
|
|
|
- /etc/hosts:/etc/hosts
|
|
|
|
- /etc/logrotate.d:/etc/logrotate.d
|
|
|
|
- /etc/resolv.conf:/etc/resolv.conf
|
|
|
|
- /etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt.rancher
|
|
|
|
- /etc/selinux:/etc/selinux
|
|
|
|
- /lib/firmware:/lib/firmware
|
|
|
|
- /lib/modules:/lib/modules
|
|
|
|
- /run:/run
|
|
|
|
- /usr/share/ros:/usr/share/ros
|
2018-05-03 11:00:50 +00:00
|
|
|
- /var/lib/boot2docker:/var/lib/boot2docker
|
2018-02-27 09:49:24 +00:00
|
|
|
- /var/lib/rancher/cache:/var/lib/rancher/cache
|
|
|
|
- /var/lib/rancher/conf:/var/lib/rancher/conf
|
|
|
|
- /var/lib/rancher:/var/lib/rancher
|
2018-12-14 07:39:41 +00:00
|
|
|
- /var/lib/waagent:/var/lib/waagent
|
2018-02-27 09:49:24 +00:00
|
|
|
- /var/log:/var/log
|
|
|
|
- /var/run:/var/run
|
|
|
|
container-data-volumes:
|
|
|
|
image: {{.OS_REPO}}/os-base:{{.VERSION}}{{.SUFFIX}}
|
|
|
|
command: echo
|
|
|
|
labels:
|
|
|
|
io.rancher.os.createonly: "true"
|
|
|
|
io.rancher.os.scope: system
|
|
|
|
log_driver: json-file
|
|
|
|
net: none
|
|
|
|
privileged: true
|
|
|
|
read_only: true
|
|
|
|
volumes:
|
2018-05-20 02:48:21 +00:00
|
|
|
- /var/lib/user-docker:/var/lib/docker
|
2018-06-27 04:08:32 +00:00
|
|
|
- /var/lib/m-user-docker:/var/lib/m-user-docker
|
2018-02-27 09:49:24 +00:00
|
|
|
user-volumes:
|
|
|
|
image: {{.OS_REPO}}/os-base:{{.VERSION}}{{.SUFFIX}}
|
|
|
|
command: echo
|
|
|
|
labels:
|
|
|
|
io.rancher.os.createonly: "true"
|
|
|
|
io.rancher.os.scope: system
|
|
|
|
log_driver: json-file
|
|
|
|
net: none
|
|
|
|
privileged: true
|
|
|
|
read_only: true
|
|
|
|
volumes:
|
|
|
|
- /home:/home
|
|
|
|
- /opt:/opt
|
|
|
|
- /var/lib/kubelet:/var/lib/kubelet
|
|
|
|
media-volumes:
|
|
|
|
image: {{.OS_REPO}}/os-base:{{.VERSION}}{{.SUFFIX}}
|
|
|
|
command: echo
|
|
|
|
labels:
|
|
|
|
io.rancher.os.createonly: "true"
|
|
|
|
io.rancher.os.scope: system
|
|
|
|
log_driver: json-file
|
|
|
|
net: none
|
|
|
|
privileged: true
|
|
|
|
read_only: true
|
|
|
|
volumes:
|
|
|
|
- /media:/media:shared
|
|
|
|
- /mnt:/mnt:shared
|
2015-07-29 06:52:15 +00:00
|
|
|
all-volumes:
|
2016-06-16 21:26:06 +00:00
|
|
|
image: {{.OS_REPO}}/os-base:{{.VERSION}}{{.SUFFIX}}
|
|
|
|
command: echo
|
2015-07-29 06:52:15 +00:00
|
|
|
labels:
|
2015-11-26 12:41:42 +00:00
|
|
|
io.rancher.os.createonly: "true"
|
2015-07-29 06:52:15 +00:00
|
|
|
io.rancher.os.scope: system
|
2018-01-02 08:07:48 +00:00
|
|
|
io.docker.compose.rebuild: always
|
2015-07-29 06:52:15 +00:00
|
|
|
log_driver: json-file
|
|
|
|
net: none
|
|
|
|
privileged: true
|
|
|
|
read_only: true
|
|
|
|
volumes_from:
|
2015-10-04 06:07:56 +00:00
|
|
|
- container-data-volumes
|
2015-07-29 06:52:15 +00:00
|
|
|
- command-volumes
|
2017-02-17 12:18:08 +00:00
|
|
|
- media-volumes
|
2015-07-29 06:52:15 +00:00
|
|
|
- user-volumes
|
|
|
|
- system-volumes
|
2018-02-27 09:49:24 +00:00
|
|
|
{{if eq "amd64" .ARCH -}}
|
|
|
|
acpid:
|
|
|
|
image: {{.OS_REPO}}/os-acpid:{{.VERSION}}{{.SUFFIX}}
|
|
|
|
command: /usr/sbin/acpid -f
|
|
|
|
labels:
|
|
|
|
io.rancher.os.scope: system
|
|
|
|
net: host
|
|
|
|
uts: host
|
|
|
|
privileged: true
|
|
|
|
volumes_from:
|
|
|
|
- command-volumes
|
|
|
|
- system-volumes
|
|
|
|
{{end -}}
|
2016-08-04 22:47:12 +00:00
|
|
|
cloud-init-execute:
|
|
|
|
image: {{.OS_REPO}}/os-base:{{.VERSION}}{{.SUFFIX}}
|
|
|
|
command: cloud-init-execute -pre-console
|
|
|
|
labels:
|
|
|
|
io.rancher.os.detach: "false"
|
|
|
|
io.rancher.os.scope: system
|
2016-11-09 19:08:30 +00:00
|
|
|
io.rancher.os.after: ntp
|
2015-07-29 06:52:15 +00:00
|
|
|
net: host
|
|
|
|
uts: host
|
|
|
|
privileged: true
|
|
|
|
volumes_from:
|
|
|
|
- system-volumes
|
2016-11-21 19:52:21 +00:00
|
|
|
volumes:
|
2015-11-18 09:04:46 +00:00
|
|
|
- /usr/bin/ros:/usr/bin/ros:ro
|
2015-07-29 06:52:15 +00:00
|
|
|
console:
|
2016-05-06 17:12:09 +00:00
|
|
|
image: {{.OS_REPO}}/os-console:{{.VERSION}}{{.SUFFIX}}
|
2016-10-20 18:58:34 +00:00
|
|
|
command: ros console-init
|
2015-07-29 06:52:15 +00:00
|
|
|
labels:
|
|
|
|
io.rancher.os.scope: system
|
2016-11-09 19:08:30 +00:00
|
|
|
io.rancher.os.after: cloud-init-execute
|
2015-08-26 15:05:44 +00:00
|
|
|
io.docker.compose.rebuild: always
|
2016-06-10 04:31:07 +00:00
|
|
|
io.rancher.os.console: default
|
2017-09-15 13:38:15 +00:00
|
|
|
environment:
|
|
|
|
- HTTP_PROXY
|
|
|
|
- HTTPS_PROXY
|
|
|
|
- NO_PROXY
|
2015-07-29 06:52:15 +00:00
|
|
|
net: host
|
|
|
|
uts: host
|
|
|
|
pid: host
|
|
|
|
ipc: host
|
|
|
|
privileged: true
|
|
|
|
restart: always
|
|
|
|
volumes_from:
|
|
|
|
- all-volumes
|
2015-08-31 07:53:45 +00:00
|
|
|
volumes:
|
|
|
|
- /usr/bin/iptables:/sbin/iptables:ro
|
2017-07-05 10:01:17 +00:00
|
|
|
logrotate:
|
|
|
|
image: {{.OS_REPO}}/os-logrotate:{{.VERSION}}{{.SUFFIX}}
|
|
|
|
command: /usr/sbin/logrotate -v /etc/logrotate.conf
|
|
|
|
labels:
|
|
|
|
io.rancher.os.createonly: "true"
|
|
|
|
io.rancher.os.scope: system
|
|
|
|
io.rancher.os.before: system-cron
|
|
|
|
cron.schedule: "@hourly"
|
|
|
|
uts: host
|
2017-07-12 22:57:03 +00:00
|
|
|
net: none
|
2017-07-05 10:01:17 +00:00
|
|
|
privileged: true
|
|
|
|
volumes_from:
|
|
|
|
- command-volumes
|
|
|
|
- system-volumes
|
2016-04-08 20:04:35 +00:00
|
|
|
network:
|
2016-05-27 01:54:42 +00:00
|
|
|
image: {{.OS_REPO}}/os-base:{{.VERSION}}{{.SUFFIX}}
|
2016-11-09 19:08:30 +00:00
|
|
|
command: netconf
|
2016-04-08 20:04:35 +00:00
|
|
|
labels:
|
|
|
|
io.rancher.os.scope: system
|
2016-11-09 19:08:30 +00:00
|
|
|
io.rancher.os.after: udev
|
|
|
|
io.rancher.os.reloadconfig: "true"
|
2016-04-08 20:04:35 +00:00
|
|
|
net: host
|
|
|
|
uts: host
|
|
|
|
pid: host
|
|
|
|
privileged: true
|
|
|
|
volumes_from:
|
|
|
|
- system-volumes
|
2018-02-27 09:49:24 +00:00
|
|
|
- command-volumes
|
2017-03-08 06:02:44 +00:00
|
|
|
volumes:
|
|
|
|
- /usr/bin/iptables:/sbin/iptables:ro
|
2015-07-29 06:52:15 +00:00
|
|
|
ntp:
|
2016-06-16 21:26:06 +00:00
|
|
|
image: {{.OS_REPO}}/os-base:{{.VERSION}}{{.SUFFIX}}
|
2017-07-19 06:09:02 +00:00
|
|
|
command: /bin/start_ntp.sh
|
2015-07-29 06:52:15 +00:00
|
|
|
labels:
|
|
|
|
io.rancher.os.scope: system
|
2016-11-09 19:08:30 +00:00
|
|
|
io.rancher.os.after: network
|
2015-07-29 06:52:15 +00:00
|
|
|
net: host
|
|
|
|
uts: host
|
|
|
|
privileged: true
|
|
|
|
restart: always
|
2016-08-15 02:17:24 +00:00
|
|
|
volumes_from:
|
|
|
|
- command-volumes
|
|
|
|
- system-volumes
|
2015-07-29 06:52:15 +00:00
|
|
|
preload-user-images:
|
2016-10-17 21:47:44 +00:00
|
|
|
image: {{.OS_REPO}}/os-base:{{.VERSION}}{{.SUFFIX}}
|
|
|
|
command: ros preload-images
|
2019-01-07 08:55:36 +00:00
|
|
|
net: host
|
2015-07-29 06:52:15 +00:00
|
|
|
labels:
|
2015-11-26 12:41:42 +00:00
|
|
|
io.rancher.os.detach: "false"
|
2015-08-06 19:01:57 +00:00
|
|
|
io.rancher.os.scope: system
|
|
|
|
io.rancher.os.after: console
|
2015-07-29 06:52:15 +00:00
|
|
|
privileged: true
|
|
|
|
volumes_from:
|
|
|
|
- command-volumes
|
|
|
|
- system-volumes
|
|
|
|
syslog:
|
2017-07-05 10:01:17 +00:00
|
|
|
image: {{.OS_REPO}}/os-syslog:{{.VERSION}}{{.SUFFIX}}
|
2016-11-03 23:43:41 +00:00
|
|
|
command: rsyslogd -n
|
2015-07-29 06:52:15 +00:00
|
|
|
labels:
|
|
|
|
io.rancher.os.scope: system
|
|
|
|
log_driver: json-file
|
|
|
|
net: host
|
|
|
|
uts: host
|
|
|
|
privileged: true
|
|
|
|
restart: always
|
|
|
|
volumes_from:
|
2016-08-15 02:17:24 +00:00
|
|
|
- command-volumes
|
2015-07-29 06:52:15 +00:00
|
|
|
- system-volumes
|
2017-07-05 10:01:17 +00:00
|
|
|
system-cron:
|
2018-03-15 09:34:57 +00:00
|
|
|
{{if eq "amd64" .ARCH -}}
|
2018-02-22 03:36:30 +00:00
|
|
|
image: rancher/container-crontab:v0.4.0
|
2018-03-15 09:34:57 +00:00
|
|
|
{{else -}}
|
|
|
|
image: niusmallnan/container-crontab:v0.4.0{{.SUFFIX}}
|
|
|
|
{{end -}}
|
2017-07-05 10:01:17 +00:00
|
|
|
labels:
|
|
|
|
io.rancher.os.scope: system
|
|
|
|
uts: host
|
2017-07-12 22:57:03 +00:00
|
|
|
net: none
|
2017-07-05 10:01:17 +00:00
|
|
|
privileged: true
|
|
|
|
restart: always
|
|
|
|
volumes:
|
2018-02-22 03:36:30 +00:00
|
|
|
- /var/run/system-docker.sock:/var/run/docker.sock
|
|
|
|
environment:
|
|
|
|
DOCKER_API_VERSION: "1.22"
|
2015-08-11 05:57:15 +00:00
|
|
|
udev-cold:
|
2016-10-17 21:47:44 +00:00
|
|
|
image: {{.OS_REPO}}/os-base:{{.VERSION}}{{.SUFFIX}}
|
|
|
|
command: ros udev-settle
|
2015-08-11 05:57:15 +00:00
|
|
|
labels:
|
2016-08-28 19:15:32 +00:00
|
|
|
io.rancher.os.detach: "false"
|
2015-08-11 05:57:15 +00:00
|
|
|
io.rancher.os.scope: system
|
|
|
|
net: host
|
|
|
|
uts: host
|
|
|
|
privileged: true
|
|
|
|
volumes_from:
|
2016-08-15 02:17:24 +00:00
|
|
|
- command-volumes
|
2015-08-11 05:57:15 +00:00
|
|
|
- system-volumes
|
2015-07-29 06:52:15 +00:00
|
|
|
udev:
|
2016-10-17 21:47:44 +00:00
|
|
|
image: {{.OS_REPO}}/os-base:{{.VERSION}}{{.SUFFIX}}
|
|
|
|
command: udevd
|
2015-07-29 06:52:15 +00:00
|
|
|
labels:
|
2015-11-26 12:41:42 +00:00
|
|
|
io.rancher.os.detach: "true"
|
2015-07-29 06:52:15 +00:00
|
|
|
io.rancher.os.scope: system
|
2016-08-28 19:15:32 +00:00
|
|
|
io.rancher.os.after: udev-cold
|
2015-07-29 06:52:15 +00:00
|
|
|
net: host
|
|
|
|
uts: host
|
|
|
|
privileged: true
|
|
|
|
restart: always
|
|
|
|
volumes_from:
|
2016-08-15 02:17:24 +00:00
|
|
|
- command-volumes
|
2015-07-29 06:52:15 +00:00
|
|
|
- system-volumes
|
2015-08-27 19:24:26 +00:00
|
|
|
docker:
|
2017-01-18 12:09:46 +00:00
|
|
|
{{if eq "amd64" .ARCH -}}
|
2018-12-04 06:48:09 +00:00
|
|
|
image: {{.OS_REPO}}/os-docker:{{.USER_DOCKER_VERSION}}{{.SUFFIX}}
|
2017-01-18 12:09:46 +00:00
|
|
|
{{else -}}
|
2018-12-04 06:48:09 +00:00
|
|
|
image: {{.OS_REPO}}/os-docker:{{.USER_DOCKER_VERSION}}{{.SUFFIX}}
|
2017-01-18 12:09:46 +00:00
|
|
|
{{end -}}
|
2016-10-20 18:58:34 +00:00
|
|
|
command: ros user-docker
|
2016-05-06 23:25:07 +00:00
|
|
|
environment:
|
|
|
|
- HTTP_PROXY
|
|
|
|
- HTTPS_PROXY
|
|
|
|
- NO_PROXY
|
2015-08-27 19:24:26 +00:00
|
|
|
labels:
|
|
|
|
io.rancher.os.scope: system
|
2015-08-27 20:02:42 +00:00
|
|
|
io.rancher.os.after: console
|
2015-08-27 19:24:26 +00:00
|
|
|
net: host
|
|
|
|
pid: host
|
|
|
|
ipc: host
|
|
|
|
uts: host
|
|
|
|
privileged: true
|
|
|
|
restart: always
|
|
|
|
volumes_from:
|
|
|
|
- all-volumes
|
2016-09-09 16:06:23 +00:00
|
|
|
volumes:
|
|
|
|
- /sys:/host/sys
|
|
|
|
- /var/lib/system-docker:/var/lib/system-docker:shared
|
2019-01-30 05:32:08 +00:00
|
|
|
subscriber:
|
|
|
|
image: {{.OS_REPO}}/os-base:{{.VERSION}}{{.SUFFIX}}
|
|
|
|
command: os-subscriber
|
|
|
|
environment:
|
|
|
|
- IN_DOCKER=true
|
|
|
|
labels:
|
|
|
|
io.rancher.os.scope: system
|
|
|
|
io.rancher.os.after: console
|
|
|
|
cron.schedule: "0 0 3 * * ?"
|
|
|
|
privileged: true
|
|
|
|
pid: host
|
|
|
|
ipc: host
|
|
|
|
net: host
|
|
|
|
uts: host
|
|
|
|
volumes_from:
|
|
|
|
- command-volumes
|
|
|
|
- system-volumes
|
|
|
|
volumes:
|
|
|
|
- /sys:/host/sys
|
2015-07-29 06:52:15 +00:00
|
|
|
system_docker:
|
2016-06-01 04:38:10 +00:00
|
|
|
exec: true
|
2018-02-27 09:49:24 +00:00
|
|
|
storage_driver: overlay2
|
2018-04-16 06:16:08 +00:00
|
|
|
bip: 172.18.42.1/16
|
2016-09-26 00:55:19 +00:00
|
|
|
restart: false
|
|
|
|
graph: /var/lib/system-docker
|
|
|
|
group: root
|
2016-10-30 19:07:55 +00:00
|
|
|
host: ["unix:///var/run/system-docker.sock"]
|
2016-09-26 00:55:19 +00:00
|
|
|
pid_file: /var/run/system-docker.pid
|
|
|
|
exec_root: /var/run/system-docker
|
|
|
|
config_file: /etc/docker/system-docker.json
|
|
|
|
userland_proxy: false
|
|
|
|
log_opts:
|
|
|
|
max-size: 25m
|
|
|
|
max-file: 2
|
2015-07-29 06:52:15 +00:00
|
|
|
upgrade:
|
2016-06-27 12:47:28 +00:00
|
|
|
url: {{.OS_RELEASES_YML}}/releases{{.SUFFIX}}.yml
|
2016-05-06 17:12:09 +00:00
|
|
|
image: {{.OS_REPO}}/os
|
2019-01-30 05:32:08 +00:00
|
|
|
policy: download
|
2015-09-11 09:10:50 +00:00
|
|
|
docker:
|
2017-01-18 12:09:46 +00:00
|
|
|
{{if eq "amd64" .ARCH -}}
|
2018-12-04 06:48:09 +00:00
|
|
|
engine: {{.USER_DOCKER_ENGINE_VERSION}}
|
2017-01-18 12:09:46 +00:00
|
|
|
{{else -}}
|
2018-12-04 06:48:09 +00:00
|
|
|
engine: {{.USER_DOCKER_ENGINE_VERSION}}
|
2017-01-18 12:09:46 +00:00
|
|
|
{{end -}}
|
2016-09-26 00:55:19 +00:00
|
|
|
group: docker
|
2016-10-30 19:07:55 +00:00
|
|
|
host: ["unix:///var/run/docker.sock"]
|
2016-09-26 00:55:19 +00:00
|
|
|
log_opts:
|
|
|
|
max-size: 25m
|
|
|
|
max-file: 2
|
2015-12-10 06:36:37 +00:00
|
|
|
tls_args: [--tlsverify, --tlscacert=/etc/docker/tls/ca.pem, --tlscert=/etc/docker/tls/server-cert.pem, --tlskey=/etc/docker/tls/server-key.pem,
|
2015-07-29 06:52:15 +00:00
|
|
|
'-H=0.0.0.0:2376']
|