routeros-config-export/docker-compose.yml

28 lines
831 B
YAML
Raw Normal View History

2023-07-19 20:46:20 +02:00
version: "3"
services:
routeros-config-export:
image: registry.mgrote.net/oxidized-selfmade:latest
volumes:
2023-07-19 21:30:14 +02:00
# key rb5009
2023-07-21 20:51:06 +02:00
- /home/mg/neu:/neu:ro
2023-07-19 20:46:20 +02:00
# Add any other volumes or configurations needed
2023-07-19 21:30:14 +02:00
# der zweite key für admin auf dem router ist der hier, in irantu/wsl hinterlegt
2023-07-21 20:51:06 +02:00
environment:
# Format <FQDN>,<SSH_KEY_PATH to ssh-private-key(passwordless)> #siehe volunmes
- DEVICES: |
rb5009.grote.lan,/neu
hex.grote.lan,/ssh/keys/hex
- GIT_REPO_BRANCH: "master"
- GIT_REPO_URL: "ssh://gitea@git.mgrote.net:2222/mg/testrepo.git"
- GIT_REPO_DEPLOY_KEY: "/neu" #siehe volunmes
- GIT_USERNAME: oxidized-selfmade
- GIT_USER_MAIL: michael.grote@posteo.de
- GIT_REPO_REMOTE_NAME: origin
- INTERVAL: 3600 # in Sekunden