Files
backup-bot-two/compose.ssh.yml
stevensting 179039fe55
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
first implementation of resti-exporter as metrics provider endpoint
2026-03-18 22:58:06 +01:00

42 lines
671 B
YAML

---
version: "3.8"
x-ssh_env: &ssh_env
- SSH_KEY_FILE=/run/secrets/ssh_key
- SSH_HOST_KEY
x-ssh_secrets: &ssh_secrets
- source: ssh_key
mode: 0400
x-ssh_configs: &ssh_configs
- source: ssh_config
target: /root/.ssh/config
services:
app:
environment:
*ssh_env
secrets:
*ssh_secrets
configs:
*ssh_configs
restic-exporter:
environment:
*ssh_env
secrets:
*ssh_secrets
configs:
*ssh_configs
secrets:
ssh_key:
external: true
name: ${STACK_NAME}_ssh_key_${SECRET_SSH_KEY_VERSION}
configs:
ssh_config:
name: ${STACK_NAME}_ssh_config_${SSH_CONFIG_VERSION}
file: ssh_config