- /home/mg/key_git:/key_git:ro # passwordless ssh-key for pushing to the git-repository
- /home/mg/key_rb5009:/key_rb5009:ro # passwordless ssh-key for a specific device, if you have mutltiple devices with different keys, mount them all here
environment:
# Format <FQDN>,<SSH_KEY_PATHtossh-private-key(passwordless)>#siehe volunmes # |- damit keine newline am ende erstellt wird
DEVICES: |-
# <fqdnofthedevice>,<user>,<pathtossh-key>
rb5009.grote.lan,admin,/neu
GIT_REPO_BRANCH: "master" # on which branch should the commits be created
GIT_REPO_URL: "ssh://gitea@gitea.grote.lan:2222/mg/testrepo.git" # repo-url in ssh format
GIT_REPO_DEPLOY_KEY: "/neu" # path to deploy-key for the git-repository
GIT_USERNAME: oxidized-selfmade # username for the commit