Created
November 15, 2017 19:58
-
-
Save bryanhuntesl/4a62a4b8b3001541ef08c0bc365bf46a to your computer and use it in GitHub Desktop.
Deploy ssh keys to every docker-stack node
This file contains 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
authorizedkeys: | |
image: dockercloud/authorizedkeys | |
deployment_strategy: every_node | |
autodestroy: always | |
environment: | |
- AUTHORIZED_KEYS=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDhN/j5QC3YtUC6ezD2qjGiO65R/uvIFbWR2TXsb8QTJxbT4GYQ3Jt9zH0XhDsdkd87B+GmCLQKC8Q1bz7G+4CbT9Lhqn2ThwoMKpG/ctwo2i1KdV7N/fpOo8nK27BwlQr0pNCK74hjUDxX46EjoPslrxaLlw5c4ggIlTjp0kJAlKrKsLqZko0LbwVEt5WkbcVOVJbLSUqmWchyqBysUs4xF9uq73+UCjRIh5+Ak+xzuSSRRgrV6py0hW62md4VFzSrUfvR/AHSaSHeEaqSqEtO7IuiLfLxdiI0Mi93A++TNTMD2RPaCoOj/3xpjWCR86Hh8mPOljGfB3cuA4ucn0hr bossman@hawg | |
volumes: | |
- /root:/user:rw |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment