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: source:
default: csv default: csv
csv: csv:
file: /var/lib/oxidized/router.db file: /home/oxidized/.config/oxidized/router.db
delimiter: !ruby/regexp /:/ delimiter: !ruby/regexp /:/
map: map:
name: 0 name: 0

View file

@ -3,14 +3,14 @@ services:
oxidized: oxidized:
restart: always restart: always
container_name: "oxidized" 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: ports:
- 8888:8888/tcp - 8888:8888/tcp
environment: environment:
CONFIG_RELOAD_INTERVAL: 600 CONFIG_RELOAD_INTERVAL: 600
volumes: volumes:
- ./router.db:/var/lib/oxidized/router.db - ./router.db:/home/oxidized/.config/oxidized/router.db
- ./config:/root/.config/oxidized/config - ./config:/home/oxidized/.config/oxidized/config
- ./ssh:/ssh/ - ./ssh:/ssh/
- oxidized:/var/lib/oxidized - oxidized:/var/lib/oxidized
labels: labels: