Created
October 15, 2018 16:45
-
-
Save bkatiemills/0983e81a44a3e15c878441bd466f4fa7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.3" | |
services: | |
cache: | |
image: docker/dtr-content-cache:2.6.0-beta3 | |
entrypoint: | |
- /start.sh | |
- "/config.yml" | |
ports: | |
- 443:443 | |
deploy: | |
replicas: 1 | |
placement: | |
constraints: [node.labels.dtr.cache == true] | |
restart_policy: | |
condition: on-failure | |
configs: | |
- config.yml | |
secrets: | |
- dtr.cert.pem | |
- cache.cert.pem | |
- cache.key.pem | |
configs: | |
config.yml: | |
file: ./config.yml | |
secrets: | |
dtr.cert.pem: | |
file: ./certs/dtr.cert.pem | |
cache.cert.pem: | |
file: ./certs/cache.cert.pem | |
cache.key.pem: | |
file: ./certs/cache.key.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment