1
0
mirror of https://github.com/rancher/os.git synced 2025-09-17 23:48:09 +00:00
Files
os/os-config.yml

319 lines
8.8 KiB
YAML
Raw Normal View History

rancher:
bootstrap:
2015-08-07 00:01:57 +05:00
udev-bootstrap:
image: rancher/os-udev:v0.4.1-dev
environment:
- BOOTSTRAP=true
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
autoformat:
autoformat:
image: rancher/os-autoformat:v0.4.1-dev
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:
image: rancher/os-udev:v0.4.1-dev
labels:
io.rancher.os.detach: false
io.rancher.os.scope: system
2015-08-04 14:45:38 -07:00
io.rancher.os.after: autoformat
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]
cloud_init:
datasources:
- configdrive:/media/config-2
network:
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/rancher/os-services/v0.4.1-dev
state:
fstype: auto
dev: LABEL=RANCHER_STATE
services:
acpid:
image: rancher/os-acpid:v0.4.1-dev
labels:
io.rancher.os.scope: system
net: host
uts: host
privileged: true
volumes_from:
- command-volumes
- system-volumes
all-volumes:
image: rancher/os-state:v0.4.1-dev
labels:
io.rancher.os.createonly: true
io.rancher.os.scope: system
log_driver: json-file
net: none
privileged: true
read_only: true
volumes_from:
2015-10-03 23:07:56 -07:00
- container-data-volumes
- command-volumes
- user-volumes
- system-volumes
cloud-init:
image: rancher/os-cloudinit:v0.4.1-dev
labels:
io.rancher.os.detach: false
io.rancher.os.reloadconfig: true
io.rancher.os.scope: system
io.rancher.os.after: cloud-init-pre, wait-for-network
net: host
uts: host
privileged: true
volumes_from:
- command-volumes
- system-volumes
cloud-init-pre:
image: rancher/os-cloudinit:v0.4.1-dev
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
net: host
uts: host
privileged: true
volumes_from:
- command-volumes
- system-volumes
command-volumes:
image: rancher/os-state:v0.4.1-dev
labels:
io.rancher.os.createonly: true
io.rancher.os.scope: system
log_driver: json-file
net: none
privileged: true
read_only: true
volumes:
- /usr/bin/docker:/usr/bin/docker.dist:ro
2015-07-29 00:51:49 -07:00
- /usr/bin/ros:/sbin/halt:ro
- /usr/bin/ros:/sbin/netconf:ro
- /usr/bin/ros:/sbin/wait-for-network:ro
2015-07-29 00:51:49 -07:00
- /usr/bin/ros:/sbin/poweroff:ro
- /usr/bin/ros:/sbin/reboot:ro
- /usr/bin/ros:/sbin/shutdown:ro
- /usr/bin/ros:/usr/bin/cloud-init:ro
- /usr/bin/ros:/usr/bin/dockerlaunch:ro
2015-07-29 00:51:49 -07:00
- /usr/bin/ros:/usr/bin/rancherctl:ro
2015-08-27 18:33:26 +05:00
- /usr/bin/ros:/usr/bin/respawn:ro
- /usr/bin/ros:/usr/bin/ros:ro
2015-07-29 00:51:49 -07:00
- /usr/bin/ros:/usr/bin/system-docker:ro
- /usr/bin/ros:/usr/bin/user-docker:ro
2015-07-29 00:51:49 -07:00
- /usr/bin/ros:/usr/sbin/wait-for-docker:ro
console:
image: rancher/os-console:v0.4.1-dev
labels:
io.rancher.os.scope: system
2015-08-04 14:45:38 -07:00
io.rancher.os.after: cloud-init
io.docker.compose.rebuild: always
net: host
uts: host
pid: host
ipc: host
privileged: true
restart: always
volumes_from:
- all-volumes
volumes:
- /usr/bin/iptables:/sbin/iptables:ro
2015-10-03 23:07:56 -07:00
container-data-volumes:
image: rancher/os-state:v0.4.1-dev
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
2015-10-03 23:07:56 -07:00
- /var/lib/rkt:/var/lib/rkt
network:
image: rancher/os-network:v0.4.1-dev
labels:
io.rancher.os.scope: system
2015-08-04 14:45:38 -07:00
io.rancher.os.after: cloud-init-pre
net: host
uts: host
pid: host
privileged: true
volumes_from:
- command-volumes
- system-volumes
wait-for-network:
image: rancher/os-network:v0.4.1-dev
command: wait-for-network
labels:
io.rancher.os.detach: false
io.rancher.os.scope: system
io.rancher.os.after: network
pid: host
privileged: true
volumes_from:
- command-volumes
- system-volumes
ntp:
image: rancher/os-ntp:v0.4.1-dev
labels:
io.rancher.os.scope: system
io.rancher.os.after: cloud-init, wait-for-network
net: host
uts: host
privileged: true
restart: always
preload-system-images:
image: rancher/os-preload:v0.4.1-dev
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:
image: rancher/os-preload:v0.4.1-dev
labels:
io.rancher.os.detach: false
2015-08-07 00:01:57 +05:00
io.rancher.os.scope: system
io.rancher.os.after: console
privileged: true
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/lib/docker/preload:/mnt/preload
volumes_from:
- command-volumes
- system-volumes
syslog:
image: rancher/os-syslog:v0.4.1-dev
labels:
io.rancher.os.scope: system
log_driver: json-file
net: host
uts: host
privileged: true
restart: always
volumes_from:
- system-volumes
system-volumes:
image: rancher/os-state:v0.4.1-dev
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
2015-10-03 23:07:56 -07:00
- /etc/rkt:/etc/rkt
- /etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt.rancher
2015-08-27 18:33:26 +05:00
- /lib/firmware:/lib/firmware
- /lib/modules:/lib/modules
2015-08-10 22:57:15 -07:00
- /run:/run
- /usr/share/ros/os-config.yml:/usr/share/ros/os-config.yml
- /var/lib/rancher/conf:/var/lib/rancher/conf
- /var/lib/rancher:/var/lib/rancher
2015-08-27 18:33:26 +05:00
- /var/log:/var/log
- /var/run:/var/run
2015-08-10 22:57:15 -07:00
udev-cold:
image: rancher/os-udev:v0.4.1-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
udev:
image: rancher/os-udev:v0.4.1-dev
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:
image: rancher/os-state:v0.4.1-dev
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
docker:
image: rancher/os-docker:v0.4.1-dev
labels:
io.rancher.os.scope: system
io.rancher.os.after: console
net: host
pid: host
ipc: host
uts: host
privileged: true
restart: always
volumes_from:
- all-volumes
volumes:
- /sys/fs/cgroup:/host/sys/fs/cgroup
system_docker:
args: [daemon, --log-opt, max-size=25m, --log-opt, max-file=2, -s, overlay, -b, docker-sys,
--fixed-cidr, 172.18.42.1/16, --restart=false, -g, /var/lib/system-docker, -G, root,
-H, 'unix:///var/run/system-docker.sock', --userland-proxy=false]
upgrade:
url: https://releases.rancher.com/os/releases.yml
image: rancher/os
docker:
tls_args: [--tlsverify, --tlscacert=ca.pem, --tlscert=server-cert.pem, --tlskey=server-key.pem,
'-H=0.0.0.0:2376']
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]