dex/static/authd-overlord.service.tmpl
2015-08-18 11:26:57 -07:00

9 lines
279 B
Cheetah

[Service]
ExecStartPre=-/usr/bin/docker rm %n
ExecStart=/usr/bin/docker run \
--name %n \
--env DEX_OVERLORD_DB_URL=${DEX_OVERLORD_DB_URL} \
--env DEX_OVERLORD_KEY_SECRET=${DEX_OVERLORD_KEY_SECRET} \
quay.io/coreos/dex /opt/dex/bin/dex-overlord
ExecStop=/usr/bin/docker kill %n