New nova compute and nova network yml file for docker compose.
This one uses the single environment file and has a few changes to mounted directories. Change-Id: I047a92b5ab89aa9b3b75213c19e05eb84d48adf6
This commit is contained in:
parent
7a23a94f9c
commit
c2bdaadd7c
47
compose/nova-compute-network.yml
Normal file
47
compose/nova-compute-network.yml
Normal file
@ -0,0 +1,47 @@
|
||||
libvirt:
|
||||
image: kollaglue/centos-rdo-nova-libvirt
|
||||
name: libvirt
|
||||
net: host
|
||||
privileged: true
|
||||
restart: always
|
||||
env_file:
|
||||
- openstack.env
|
||||
volumes:
|
||||
- /run:/run
|
||||
- /sys/fs/cgroup:/sys/fs/cgroup
|
||||
- /var/lib/nova:/var/lib/nova
|
||||
- /var/lib/libvirt:/var/lib/libvirt
|
||||
- /etc/libvirt/qemu:/etc/libvirt/qemu
|
||||
- /etc/libvirt/nwfilters:/etc/libvirt/nwfilters
|
||||
|
||||
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
|
||||
- /var/lib/nova:/var/lib/nova
|
||||
- /var/lib/libvirt:/var/lib/libvirt
|
||||
- /etc/libvirt/nwfilters:/etc/libvirt/nwfilters
|
||||
|
||||
novacompute:
|
||||
image: kollaglue/centos-rdo-nova-compute
|
||||
name: nova-compute
|
||||
net: host
|
||||
pid: host
|
||||
privileged: true
|
||||
restart: always
|
||||
env_file:
|
||||
- openstack.env
|
||||
volumes:
|
||||
- /run:/run
|
||||
- /sys/fs/cgroup:/sys/fs/cgroup
|
||||
- /var/lib/nova:/var/lib/nova
|
||||
- /var/lib/libvirt:/var/lib/libvirt
|
||||
- /etc/libvirt/qemu:/etc/libvirt/qemu
|
||||
- /etc/libvirt/nwfilters:/etc/libvirt/nwfilters
|
@ -1,64 +0,0 @@
|
||||
libvirt:
|
||||
image: kollaglue/centos-rdo-nova-libvirt
|
||||
net: host
|
||||
pid: host
|
||||
privileged: true
|
||||
volumes:
|
||||
- /run:/run
|
||||
- /sys/fs/cgroup:/sys/fs/cgroup
|
||||
- /var/lib/nova:/var/lib/nova
|
||||
- /var/lib/libvirt:/var/lib/libvirt
|
||||
- /etc/libvirt/nwfilter:/etc/libvirt/nwfilter
|
||||
network:
|
||||
image: kollaglue/centos-rdo-nova-network
|
||||
net: host
|
||||
privileged: true
|
||||
environment:
|
||||
FLAT_INTERFACE: enp2s0f1
|
||||
PUBLIC_INTERFACE: eno1
|
||||
NETWORK_MANAGER: nova
|
||||
NOVA_DB_USER: nova
|
||||
NOVA_DB_PASSWORD: 123456
|
||||
NOVA_KEYSTONE_USER: admin
|
||||
NOVA_KEYSTONE_PASSWORD: 123456
|
||||
ADMIN_TENANT_NAME: admin
|
||||
RABBIT_USERID: guest
|
||||
RABBIT_PASSWORD: 123456
|
||||
NETWORK_MANAGER: nova
|
||||
GLANCE_API_SERVICE_HOST: 192.168.1.100
|
||||
KEYSTONE_PUBLIC_SERVICE_HOST: 192.168.1.100
|
||||
RABBITMQ_SERVICE_HOST: 192.168.1.100
|
||||
NOVA_KEYSTONE_PASSWORD: 123456
|
||||
KEYSTONE_ADMIN_TOKEN: 123456
|
||||
volumes:
|
||||
- /run:/run
|
||||
- /sys/fs/cgroup:/sys/fs/cgroup
|
||||
- /var/lib/nova:/var/lib/nova
|
||||
- /var/lib/libvirt:/var/lib/libvirt
|
||||
compute:
|
||||
image: kollaglue/centos-rdo-nova-compute
|
||||
net: host
|
||||
privileged: true
|
||||
environment:
|
||||
FLAT_INTERFACE: enp2s0f1
|
||||
PUBLIC_INTERFACE: eno1
|
||||
NETWORK_MANAGER: nova
|
||||
NOVA_DB_USER: nova
|
||||
NOVA_DB_PASSWORD: 123456
|
||||
NOVA_KEYSTONE_USER: admin
|
||||
NOVA_KEYSTONE_PASSWORD: 123456
|
||||
ADMIN_TENANT_NAME: admin
|
||||
RABBIT_USERID: guest
|
||||
RABBIT_PASSWORD: 123456
|
||||
NETWORK_MANAGER: nova
|
||||
GLANCE_API_SERVICE_HOST: 192.168.1.100
|
||||
KEYSTONE_PUBLIC_SERVICE_HOST: 192.168.1.100
|
||||
RABBITMQ_SERVICE_HOST: 192.168.1.100
|
||||
NOVA_KEYSTONE_PASSWORD: 123456
|
||||
KEYSTONE_ADMIN_TOKEN: 123456
|
||||
volumes:
|
||||
- /run:/run
|
||||
- /sys/fs/cgroup:/sys/fs/cgroup
|
||||
- /var/lib/nova:/var/lib/nova
|
||||
- /var/lib/libvirt:/var/lib/libvirt
|
||||
- /etc/libvirt/nwfilter:/etc/libvirt/nwfilter
|
Loading…
x
Reference in New Issue
Block a user