2017-04-25 14:47:04 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Openstack Keystone Container
|
|
|
|
After=docker.service
|
|
|
|
Requires=docker.service
|
2017-05-11 16:47:03 +02:00
|
|
|
|
2017-04-25 14:47:04 +02:00
|
|
|
[Service]
|
|
|
|
TimeoutStartSec=0
|
|
|
|
Restart=always
|
2017-07-12 10:19:45 +02:00
|
|
|
ExecStartPre=-/usr/bin/docker rm -f %n
|
2017-05-11 16:47:03 +02:00
|
|
|
ExecStart=/usr/bin/docker run --name %n \
|
2017-07-10 09:52:12 +02:00
|
|
|
--add-host=mariadb:172.23.41.2 \
|
2017-06-14 15:08:49 +02:00
|
|
|
-p 5000:5000 -p 35357:35357 \
|
2017-05-11 16:47:03 +02:00
|
|
|
-v /srv/keystone/fernet-keys:/etc/keystone/fernet-keys \
|
|
|
|
hpc/keystone
|
|
|
|
|
2017-04-25 14:47:04 +02:00
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|