From 533ffdd370c1663a2b8df0c5943c8f709b83660b Mon Sep 17 00:00:00 2001 From: Teck Meng Date: Fri, 4 Oct 2024 17:56:42 +0800 Subject: [PATCH] Refactor swarm/secondary.yml: Update librespeed service configuration and add volumes --- swarm/secondary.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/swarm/secondary.yml b/swarm/secondary.yml index 0f34115..6a70778 100644 --- a/swarm/secondary.yml +++ b/swarm/secondary.yml @@ -26,8 +26,8 @@ services: - PASSWORD=${DATABASE__PASSWORD} - MODE=standalone user: "1000:1000" - # volumes: - # - /var/data/config/librespeed:/config + volumes: + - librespeed_data:/config # ports: # - 80:80 restart: unless-stopped @@ -103,6 +103,9 @@ services: - traefik.http.routers.whisper_web.service=whisper_web - traefik.http.services.whisper_web.loadbalancer.server.port=4173 +volumes: + librespeed_data: + networks: traefik-public: external: true \ No newline at end of file