2015-07-29 11:52:15 +05:00
|
|
|
rancher:
|
|
|
|
bootstrap:
|
2015-08-07 00:01:57 +05:00
|
|
|
udev-bootstrap:
|
2015-08-14 20:02:47 +05:00
|
|
|
image: rancher/os-udev:v0.4.0-dev
|
2015-08-27 02:06:01 -07:00
|
|
|
environment:
|
|
|
|
- BOOTSTRAP=true
|
2015-07-29 11:52:15 +05:00
|
|
|
labels:
|
|
|
|
io.rancher.os.detach: false
|
|
|
|
io.rancher.os.scope: system
|
|
|
|
log_driver: json-file
|
|
|
|
net: host
|
|
|
|
uts: host
|
|
|
|
privileged: true
|
|
|
|
volumes:
|
|
|
|
- /dev:/host/dev
|
|
|
|
- /lib/modules:/lib/modules
|
|
|
|
- /lib/firmware:/lib/firmware
|
2015-07-21 20:43:20 +05:00
|
|
|
autoformat:
|
2015-07-29 11:52:15 +05:00
|
|
|
autoformat:
|
2015-08-14 20:02:47 +05:00
|
|
|
image: rancher/os-autoformat:v0.4.0-dev
|
2015-07-29 11:52:15 +05:00
|
|
|
labels:
|
|
|
|
io.rancher.os.detach: false
|
|
|
|
io.rancher.os.scope: system
|
|
|
|
log_driver: json-file
|
|
|
|
net: none
|
|
|
|
privileged: true
|
2015-08-07 00:01:57 +05:00
|
|
|
udev-autoformat:
|
2015-08-14 20:02:47 +05:00
|
|
|
image: rancher/os-udev:v0.4.0-dev
|
2015-07-29 11:52:15 +05:00
|
|
|
labels:
|
|
|
|
io.rancher.os.detach: false
|
|
|
|
io.rancher.os.scope: system
|
2015-08-04 14:45:38 -07:00
|
|
|
io.rancher.os.after: autoformat
|
2015-07-29 11:52:15 +05:00
|
|
|
log_driver: json-file
|
|
|
|
net: host
|
|
|
|
uts: host
|
|
|
|
privileged: true
|
|
|
|
volumes:
|
|
|
|
- /dev:/host/dev
|
|
|
|
- /lib/modules:/lib/modules
|
|
|
|
- /lib/firmware:/lib/firmware
|
|
|
|
bootstrap_docker:
|
2015-08-18 12:49:04 +05:00
|
|
|
args: [daemon, -s, overlay, -b, none, --restart=false, -g, /var/lib/system-docker,
|
2015-07-29 00:51:49 -07:00
|
|
|
-G, root, -H, 'unix:///var/run/system-docker.sock', --userland-proxy=false]
|
2015-07-29 11:52:15 +05:00
|
|
|
cloud_init:
|
|
|
|
datasources:
|
|
|
|
- configdrive:/media/config-2
|
|
|
|
services_include: {}
|
2015-06-16 01:58:16 +05:00
|
|
|
network:
|
2015-07-29 11:52:15 +05:00
|
|
|
dns:
|
|
|
|
nameservers: [8.8.8.8, 8.8.4.4]
|
|
|
|
interfaces:
|
|
|
|
eth*:
|
|
|
|
dhcp: true
|
|
|
|
lo:
|
|
|
|
address: 127.0.0.1/8
|
|
|
|
repositories:
|
|
|
|
core:
|
|
|
|
url: https://raw.githubusercontent.com/rancherio/os-services/v0.4.0
|
|
|
|
state:
|
|
|
|
fstype: auto
|
|
|
|
dev: LABEL=RANCHER_STATE
|
|
|
|
services:
|
|
|
|
acpid:
|
2015-08-14 20:02:47 +05:00
|
|
|
image: rancher/os-acpid:v0.4.0-dev
|
2015-07-29 11:52:15 +05:00
|
|
|
labels:
|
|
|
|
io.rancher.os.scope: system
|
|
|
|
net: host
|
|
|
|
uts: host
|
|
|
|
privileged: true
|
|
|
|
volumes_from:
|
|
|
|
- command-volumes
|
|
|
|
- system-volumes
|
|
|
|
all-volumes:
|
2015-08-14 20:02:47 +05:00
|
|
|
image: rancher/os-state:v0.4.0-dev
|
2015-07-29 11:52:15 +05:00
|
|
|
labels:
|
|
|
|
io.rancher.os.createonly: true
|
|
|
|
io.rancher.os.scope: system
|
|
|
|
log_driver: json-file
|
|
|
|
net: none
|
|
|
|
privileged: true
|
|
|
|
read_only: true
|
|
|
|
volumes_from:
|
|
|
|
- docker-volumes
|
|
|
|
- command-volumes
|
|
|
|
- user-volumes
|
|
|
|
- system-volumes
|
|
|
|
cloud-init:
|
2015-08-14 20:02:47 +05:00
|
|
|
image: rancher/os-cloudinit:v0.4.0-dev
|
2015-07-29 11:52:15 +05:00
|
|
|
labels:
|
|
|
|
io.rancher.os.detach: false
|
|
|
|
io.rancher.os.reloadconfig: true
|
|
|
|
io.rancher.os.scope: system
|
2015-08-04 14:45:38 -07:00
|
|
|
io.rancher.os.after: cloud-init-pre,network
|
2015-07-29 11:52:15 +05:00
|
|
|
net: host
|
|
|
|
uts: host
|
|
|
|
privileged: true
|
|
|
|
volumes_from:
|
|
|
|
- command-volumes
|
|
|
|
- system-volumes
|
|
|
|
cloud-init-pre:
|
2015-08-14 20:02:47 +05:00
|
|
|
image: rancher/os-cloudinit:v0.4.0-dev
|
2015-07-29 11:52:15 +05:00
|
|
|
environment:
|
|
|
|
- CLOUD_INIT_NETWORK=false
|
|
|
|
labels:
|
|
|
|
io.rancher.os.detach: false
|
|
|
|
io.rancher.os.reloadconfig: true
|
|
|
|
io.rancher.os.scope: system
|
2015-08-04 14:45:38 -07:00
|
|
|
io.rancher.os.after: preload-system-images
|
2015-07-29 11:52:15 +05:00
|
|
|
net: host
|
|
|
|
uts: host
|
|
|
|
privileged: true
|
|
|
|
volumes_from:
|
|
|
|
- command-volumes
|
|
|
|
- system-volumes
|
|
|
|
command-volumes:
|
2015-08-14 20:02:47 +05:00
|
|
|
image: rancher/os-state:v0.4.0-dev
|
2015-07-29 11:52:15 +05:00
|
|
|
labels:
|
|
|
|
io.rancher.os.createonly: true
|
|
|
|
io.rancher.os.scope: system
|
|
|
|
log_driver: json-file
|
|
|
|
net: none
|
|
|
|
privileged: true
|
|
|
|
read_only: true
|
|
|
|
volumes:
|
2015-07-29 00:51:49 -07:00
|
|
|
- /usr/bin/ros:/sbin/halt:ro
|
|
|
|
- /usr/bin/ros:/sbin/poweroff:ro
|
|
|
|
- /usr/bin/ros:/sbin/reboot:ro
|
|
|
|
- /usr/bin/ros:/sbin/shutdown:ro
|
2015-08-27 18:33:26 +05:00
|
|
|
- /usr/bin/ros:/sbin/netconf:ro
|
2015-07-29 00:51:49 -07:00
|
|
|
- /usr/bin/ros:/usr/bin/cloud-init:ro
|
|
|
|
- /usr/bin/ros:/usr/bin/rancherctl:ro
|
2015-08-27 01:58:45 -07:00
|
|
|
- /usr/bin/ros:/usr/bin/ros:ro
|
2015-08-27 18:33:26 +05:00
|
|
|
- /usr/bin/ros:/usr/bin/respawn:ro
|
2015-07-29 00:51:49 -07:00
|
|
|
- /usr/bin/ros:/usr/bin/system-docker:ro
|
|
|
|
- /usr/bin/ros:/usr/sbin/wait-for-docker:ro
|
2015-08-27 18:33:26 +05:00
|
|
|
- /usr/bin/ros:/usr/bin/dockerlaunch:ro
|
|
|
|
- /usr/bin/docker:/usr/bin/docker.dist:ro
|
2015-07-29 11:52:15 +05:00
|
|
|
console:
|
2015-08-14 20:02:47 +05:00
|
|
|
image: rancher/os-console:v0.4.0-dev
|
2015-07-29 11:52:15 +05:00
|
|
|
labels:
|
|
|
|
io.rancher.os.scope: system
|
2015-08-04 14:45:38 -07:00
|
|
|
io.rancher.os.after: cloud-init
|
2015-08-26 20:05:44 +05:00
|
|
|
io.docker.compose.rebuild: always
|
2015-07-29 11:52:15 +05:00
|
|
|
net: host
|
|
|
|
uts: host
|
|
|
|
pid: host
|
|
|
|
ipc: host
|
|
|
|
privileged: true
|
|
|
|
restart: always
|
|
|
|
volumes_from:
|
|
|
|
- all-volumes
|
|
|
|
docker-volumes:
|
2015-08-14 20:02:47 +05:00
|
|
|
image: rancher/os-state:v0.4.0-dev
|
2015-07-29 11:52:15 +05:00
|
|
|
labels:
|
|
|
|
io.rancher.os.createonly: true
|
|
|
|
io.rancher.os.scope: system
|
|
|
|
log_driver: json-file
|
|
|
|
net: none
|
|
|
|
privileged: true
|
|
|
|
read_only: true
|
|
|
|
volumes:
|
|
|
|
- /var/lib/docker:/var/lib/docker
|
|
|
|
network:
|
2015-08-14 20:02:47 +05:00
|
|
|
image: rancher/os-network:v0.4.0-dev
|
2015-07-29 11:52:15 +05:00
|
|
|
labels:
|
|
|
|
io.rancher.os.detach: false
|
|
|
|
io.rancher.os.scope: system
|
2015-08-04 14:45:38 -07:00
|
|
|
io.rancher.os.after: cloud-init-pre
|
2015-07-29 11:52:15 +05:00
|
|
|
net: host
|
|
|
|
uts: host
|
|
|
|
privileged: true
|
|
|
|
volumes_from:
|
|
|
|
- command-volumes
|
|
|
|
- system-volumes
|
|
|
|
ntp:
|
2015-08-14 20:02:47 +05:00
|
|
|
image: rancher/os-ntp:v0.4.0-dev
|
2015-07-29 11:52:15 +05:00
|
|
|
labels:
|
|
|
|
io.rancher.os.scope: system
|
2015-08-04 14:45:38 -07:00
|
|
|
io.rancher.os.after: cloud-init, network
|
2015-07-29 11:52:15 +05:00
|
|
|
net: host
|
|
|
|
uts: host
|
|
|
|
privileged: true
|
|
|
|
restart: always
|
|
|
|
preload-system-images:
|
2015-08-14 20:02:47 +05:00
|
|
|
image: rancher/os-preload:v0.4.0-dev
|
2015-07-29 11:52:15 +05:00
|
|
|
labels:
|
|
|
|
io.rancher.os.detach: false
|
|
|
|
io.rancher.os.scope: system
|
|
|
|
privileged: true
|
|
|
|
volumes:
|
|
|
|
- /var/run/system-docker.sock:/var/run/docker.sock
|
|
|
|
- /var/lib/system-docker/preload:/mnt/preload
|
|
|
|
volumes_from:
|
|
|
|
- command-volumes
|
|
|
|
- system-volumes
|
|
|
|
preload-user-images:
|
2015-08-14 20:02:47 +05:00
|
|
|
image: rancher/os-preload:v0.4.0-dev
|
2015-07-29 11:52:15 +05:00
|
|
|
labels:
|
|
|
|
io.rancher.os.detach: false
|
2015-08-07 00:01:57 +05:00
|
|
|
io.rancher.os.scope: system
|
|
|
|
io.rancher.os.after: console
|
2015-07-29 11:52:15 +05:00
|
|
|
privileged: true
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
- /var/lib/docker/preload:/mnt/preload
|
|
|
|
volumes_from:
|
|
|
|
- command-volumes
|
|
|
|
- system-volumes
|
|
|
|
syslog:
|
2015-08-14 20:02:47 +05:00
|
|
|
image: rancher/os-syslog:v0.4.0-dev
|
2015-07-29 11:52:15 +05:00
|
|
|
labels:
|
|
|
|
io.rancher.os.scope: system
|
|
|
|
log_driver: json-file
|
|
|
|
net: host
|
|
|
|
uts: host
|
|
|
|
privileged: true
|
|
|
|
restart: always
|
|
|
|
volumes_from:
|
|
|
|
- system-volumes
|
|
|
|
system-volumes:
|
2015-08-14 20:02:47 +05:00
|
|
|
image: rancher/os-state:v0.4.0-dev
|
2015-07-29 11:52:15 +05:00
|
|
|
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
|
2015-08-27 18:33:26 +05:00
|
|
|
- /usr/share/ros/os-config.yml:/usr/share/ros/os-config.yml
|
|
|
|
- /var/lib/rancher:/var/lib/rancher
|
|
|
|
- /var/lib/rancher/conf:/var/lib/rancher/conf
|
2015-07-29 11:52:15 +05:00
|
|
|
- /etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt.rancher
|
2015-08-27 01:58:45 -07:00
|
|
|
- /lib/modules:/lib/modules
|
2015-08-27 18:33:26 +05:00
|
|
|
- /lib/firmware:/lib/firmware
|
2015-08-10 22:57:15 -07:00
|
|
|
- /run:/run
|
2015-08-27 01:58:45 -07:00
|
|
|
- /var/run:/var/run
|
2015-08-27 18:33:26 +05:00
|
|
|
- /var/log:/var/log
|
2015-08-10 22:57:15 -07:00
|
|
|
udev-cold:
|
2015-08-14 20:02:47 +05:00
|
|
|
image: rancher/os-udev:v0.4.0-dev
|
2015-08-10 22:57:15 -07:00
|
|
|
labels:
|
|
|
|
io.rancher.os.scope: system
|
|
|
|
io.rancher.os.before: udev
|
|
|
|
net: host
|
|
|
|
uts: host
|
|
|
|
privileged: true
|
|
|
|
volumes_from:
|
|
|
|
- system-volumes
|
2015-07-29 11:52:15 +05:00
|
|
|
udev:
|
2015-08-14 20:02:47 +05:00
|
|
|
image: rancher/os-udev:v0.4.0-dev
|
2015-07-29 11:52:15 +05:00
|
|
|
environment:
|
|
|
|
- DAEMON=true
|
|
|
|
labels:
|
|
|
|
io.rancher.os.detach: true
|
|
|
|
io.rancher.os.scope: system
|
|
|
|
net: host
|
|
|
|
uts: host
|
|
|
|
privileged: true
|
|
|
|
restart: always
|
|
|
|
volumes_from:
|
|
|
|
- system-volumes
|
|
|
|
user-volumes:
|
2015-08-14 20:02:47 +05:00
|
|
|
image: rancher/os-state:v0.4.0-dev
|
2015-07-29 11:52:15 +05:00
|
|
|
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
|
|
|
|
system_docker:
|
2015-08-14 10:24:52 +05:00
|
|
|
args: [daemon, --log-opt, max-size=25m, --log-opt, max-file=2, -s, overlay, -b, docker-sys,
|
2015-08-13 21:07:31 +05:00
|
|
|
--fixed-cidr, 172.18.42.1/16, --restart=false, -g, /var/lib/system-docker, -G, root,
|
2015-07-29 11:52:15 +05:00
|
|
|
-H, 'unix:///var/run/system-docker.sock', --userland-proxy=false]
|
|
|
|
upgrade:
|
2015-08-22 00:52:16 +05:00
|
|
|
url: https://releases.rancher.com/os/releases.yml
|
2015-07-29 11:52:15 +05:00
|
|
|
image: rancher/os
|
|
|
|
user_docker:
|
|
|
|
tls_args: [--tlsverify, --tlscacert=ca.pem, --tlscert=server-cert.pem, --tlskey=server-key.pem,
|
|
|
|
'-H=0.0.0.0:2376']
|
2015-08-14 10:24:52 +05:00
|
|
|
args: [daemon, --log-opt, max-size=25m, --log-opt, max-file=2, -s, overlay, -G, docker, -H, 'unix:///var/run/docker.sock', --userland-proxy=false]
|