parasol-static-site/compose.private.yml
2024-03-23 13:25:32 +01:00

29 lines
601 B
YAML

---
version: "3.8"
services:
badger:
configs:
- source: ssh_conf
target: /root/.ssh/config
- source: ssh_deploy_key
target: /root/.ssh/deploy
mode: 0400
secrets:
- deploy_key
secrets:
deploy_key:
external: true
name: ${STACK_NAME}_deploy_key_${SECRET_DEPLOY_KEY_VERSION}
configs:
ssh_deploy_key:
name: ${STACK_NAME}_ssh_deploy_key_${SSH_DEPLOY_KEY_VERSION}
file: deploy_key.tmpl
template_driver: golang
ssh_conf:
name: ${STACK_NAME}_ssh_conf_${SSH_CONF_VERSION}
file: ssh_config.tmpl
template_driver: golang