2023-08-02 20:38:26 +02:00
|
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
routeros-config-export:
|
|
|
|
container_name: routeros-config-export
|
|
|
|
restart: always
|
2024-03-22 08:38:20 +01:00
|
|
|
image: "registry.mgrote.net/routeros-config-export:v1.1.136"
|
2023-08-02 20:38:26 +02:00
|
|
|
volumes:
|
|
|
|
- ./key_rb5009:/key_rb5009:ro
|
|
|
|
- ./key_hex:/key_hex:ro
|
|
|
|
- ./key_crs305:/key_crs305:ro
|
|
|
|
- ./deploy_token:/deploy_token:ro
|
|
|
|
environment:
|
|
|
|
DEVICES: |-
|
2023-11-25 19:08:24 +01:00
|
|
|
rb5009.mgrote.net,routeros-config-backup,/key_rb5009
|
|
|
|
hex.mgrote.net,routeros-config-backup,/key_hex
|
|
|
|
crs305.mgrote.net,routeros-config-backup,/key_crs305
|
2023-08-02 20:38:26 +02:00
|
|
|
GIT_REPO_BRANCH: "master"
|
2024-04-03 15:54:39 +02:00
|
|
|
GIT_REPO_URL: "gitea@forgejo.mgrote.net:mg/routeros-configs.git"
|
2023-08-02 20:38:26 +02:00
|
|
|
GIT_REPO_DEPLOY_KEY: "/deploy_token"
|
|
|
|
GIT_USERNAME: oxidized-selfmade
|
|
|
|
GIT_USER_MAIL: michael.grote@posteo.de
|
|
|
|
GIT_REPO_REMOTE_NAME: origin
|
|
|
|
INTERVAL: 600 # in sekunden
|