1dcd904d27
We have to overlay the /lib/modules folder from the host to properly `modprobe` from within a container. We don't have to give it write permissions however, so the docker-compose volume is mounted in as 'ro' Change-Id: I95101136dad56e9331d8b92cd394495f7bd0576a
48 lines
914 B
YAML
48 lines
914 B
YAML
computedata:
|
|
image: kollaglue/centos-rdo-nova-compute-data
|
|
name: computedata
|
|
|
|
libvirt:
|
|
image: kollaglue/centos-rdo-nova-libvirt
|
|
name: libvirt
|
|
net: host
|
|
pid: host
|
|
privileged: true
|
|
restart: always
|
|
env_file:
|
|
- openstack.env
|
|
volumes:
|
|
- /run:/run
|
|
- /sys/fs/cgroup:/sys/fs/cgroup
|
|
volumes_from:
|
|
- computedata
|
|
|
|
novanetwork:
|
|
image: kollaglue/centos-rdo-nova-network
|
|
name: nova-network
|
|
net: host
|
|
privileged: true
|
|
restart: always
|
|
env_file:
|
|
- openstack.env
|
|
volumes:
|
|
- /run:/run
|
|
- /sys/fs/cgroup:/sys/fs/cgroup
|
|
- /lib/modules:/lib/modules:ro
|
|
volumes_from:
|
|
- computedata
|
|
|
|
novacompute:
|
|
image: kollaglue/centos-rdo-nova-compute
|
|
name: nova-compute
|
|
net: host
|
|
privileged: true
|
|
restart: always
|
|
env_file:
|
|
- openstack.env
|
|
volumes:
|
|
- /run:/run
|
|
- /sys/fs/cgroup:/sys/fs/cgroup
|
|
volumes_from:
|
|
- computedata
|