This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
services:
|
||||
borg:
|
||||
borg-dev:
|
||||
tty: true
|
||||
stdin_open: true
|
||||
|
||||
@@ -9,13 +9,11 @@ services:
|
||||
|
||||
environment:
|
||||
- BORG_REPO="${BORG_REPO}"
|
||||
- BORG_RSH="${BORG_REPO}"
|
||||
- BORG_RSH="${BORG_RSH}"
|
||||
- BORG_PASSPHRASE="${BORG_PASSPHRASE}"
|
||||
- MODE=SCRIPT # Valid modes are: BORG, SCRIPT, SHELL, default is BORG
|
||||
#command: "ls -lah"
|
||||
configs:
|
||||
# - source: backup_script
|
||||
# target: /app/backup-scripts/run
|
||||
|
||||
- source: id_ed25519
|
||||
target: /root/.ssh/id_ed25519
|
||||
mode: 0400
|
||||
@@ -27,15 +25,10 @@ services:
|
||||
- ./docker/dev-backup-scripts:/app/backup-scripts
|
||||
configs:
|
||||
|
||||
# backup_script:
|
||||
# content: |
|
||||
# #!bin/bash
|
||||
# echo "hello work!!!! (please override me)"
|
||||
|
||||
|
||||
|
||||
id_ed25519:
|
||||
content: |
|
||||
${ID_ED25519}
|
||||
file: ~/.ssh/id_ed25519
|
||||
|
||||
borg_key:
|
||||
content: |
|
||||
|
||||
Reference in New Issue
Block a user