GitHub discussion traefik-log-dashboard #94 in Feature Request, started by
osmolloon GitHub
Hi!
I don’t know if its a self mistake or that feature doesnt exist but the agent configuration in dashboard is not persisted. When i access to the dashboard from different clients, i have to load manually the agent configuration using a previous backup. Even in the same computer, when i log in into the dashboard after a few time, it doesnt have stored the agents.
Here is my docker-compose.yml (agent and dashboard are in different servers):
traefik_agent:
container_name: traefik_agent
environment:
PORT: '5000'
TRAEFIK_LOG_DASHBOARD_ACCESS_PATH: /logs/access.log
TRAEFIK_LOG_DASHBOARD_AUTH_TOKEN: <agent_token>
TRAEFIK_LOG_DASHBOARD_ERROR_PATH: /logs/traefik.log
TRAEFIK_LOG_DASHBOARD_GEOIP_CITY_DB: /geoip/GeoLite2-City.mmdb
TRAEFIK_LOG_DASHBOARD_GEOIP_COUNTRY_DB: /geoip/GeoLite2-Country.mmdb
TRAEFIK_LOG_DASHBOARD_GEOIP_ENABLED: true
TRAEFIK_LOG_DASHBOARD_LOG_FORMAT: json
TRAEFIK_LOG_DASHBOARD_SYSTEM_MONITORING: true
image: hhftechnology/traefik-log-dashboard-agent:dev-dashboard
labels:
traefik.docker.network: traefik
traefik.http.routers.dbeaver-secure.rule: Host(`agent.mydomain.com`)
traefik.http.services.dbeaver.loadbalancer.server.port: '5000'
networks:
- traefik
volumes:
- traefik:/logs:ro
- agent_geoip:/geoip:ro
- agent_positions:/data
And the dashboard container:
traefik_dashboard:
container_name: …
---
💬 Join in here or [on GitHub](https://github.com/hhftechnology/traefik-log-dashboard/discussions/94).
<!-- hhf-forum-sync -->