This repository has been archived on 2022-08-17. You can view files and clone it, but cannot push or open issues or pull requests.
dex/static/authd-worker.service.tmpl
2015-08-18 11:26:57 -07:00

15 lines
453 B
Cheetah

[Service]
ExecStartPre=-/usr/bin/docker rm %n
ExecStart=/usr/bin/docker run \
--name %n \
--volume /etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt \
--publish 5556:5556 \
--env DEX_WORKER_ISSUER=https://auth.update.core-os.net \
--env DEX_WORKER_DB_URL=${DEX_WORKER_DB_URL} \
--env DEX_WORKER_KEY_SECRET=${DEX_WORKER_KEY_SECRET} \
quay.io/coreos/dex /opt/dex/bin/dex-worker
ExecStop=/usr/bin/docker kill %n
[X-Fleet]
Global=true