routeros-config-export/docker-compose.yml

28 lines
854 B
YAML
Raw Normal View History

2023-07-19 20:46:20 +02:00
version: "3"
services:
routeros-config-export:
2023-07-21 21:36:46 +02:00
name: oxidized-selfmade
2023-07-21 21:21:36 +02:00
image: registry.mgrote.net/oxidized-selfmade:master
2023-07-19 20:46:20 +02:00
volumes:
2023-07-19 21:30:14 +02:00
# key rb5009
2023-07-21 20:54:25 +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:
2023-07-21 21:26:37 +02:00
# Format <FQDN>,<SSH_KEY_PATH to ssh-private-key(passwordless)> #siehe volunmes # |- damit keine newline am ende erstellt wird
DEVICES: |-
2023-07-21 20:58:50 +02:00
rb5009.grote.lan,admin,/neu
2023-07-21 20:53:25 +02:00
GIT_REPO_BRANCH: "master"
2023-07-21 21:21:24 +02:00
GIT_REPO_URL: "ssh://gitea@gitea.grote.lan:2222/mg/testrepo.git"
2023-07-21 20:53:25 +02:00
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