fix Oxidized (#482)

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: #482
This commit is contained in:
Michael Grote 2023-03-21 20:37:40 +01:00
parent 8b7121f45e
commit 5ed8efce4f
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
source:
default: csv
csv:
file: /var/lib/oxidized/router.db
file: /home/oxidized/.config/oxidized/router.db
delimiter: !ruby/regexp /:/
map:
name: 0

View file

@ -3,14 +3,14 @@ services:
oxidized:
restart: always
container_name: "oxidized"
image: oxidized/oxidized:latest
image: oxidized/oxidized:cool # ist auf lokal gebautes Image gesetzt, nach https://github.com/ytti/oxidized/pull/2726 kann es wieder auf latest gesetzt werden
ports:
- 8888:8888/tcp
environment:
CONFIG_RELOAD_INTERVAL: 600
volumes:
- ./router.db:/var/lib/oxidized/router.db
- ./config:/root/.config/oxidized/config
- ./router.db:/home/oxidized/.config/oxidized/router.db
- ./config:/home/oxidized/.config/oxidized/config
- ./ssh:/ssh/
- oxidized:/var/lib/oxidized
labels: