7a6c9ac360
Made keystone use repo wide secrets file. Made glance-controller use repo wide secrets file. kill and then remove image Made neutron-controller use repo wide secrets file. Made nova-controller use repo wide secrets file Made nova-compute use repo wide secrets file. Made rabbitmq use repo wide secrets file. Allow creation of admin-openrc.sh in docker. added provider_interfaces. added persistent root folder. make each dir explicitely added missing env vars. mapped kvm machine-id from host
19 lines
512 B
Desktop File
19 lines
512 B
Desktop File
[Unit]
|
|
Description=Mariadb Container
|
|
After=docker.service
|
|
Requires=docker.service
|
|
|
|
[Service]
|
|
TimeoutStartSec=0
|
|
Restart=always
|
|
ExecStartPre=-/usr/bin/docker kill %n || /bin/true
|
|
ExecStartPre=-/usr/bin/docker rm %n
|
|
ExecStartPre=/usr/bin/docker pull mariadb:10.2
|
|
ExecStart=/usr/bin/docker run -p 3306:3306 --name %n \
|
|
-v /srv/mariadb/lib/mysql:/var/lib/mysql \
|
|
-v /srv/mariadb/etc/mysql:/etc/mysql \
|
|
-e MYSQL_ROOT_PASSWORD={{ secrets['MYSQL_ROOT_PASSWORD'] }} mariadb:10.2
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|