-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
I'd like to configure plugsy configuration to be stored in anamed volume, but you dictate that the config.json is in the root of the filesystem.
the syntax for declaring named volumes implies they are like folders :
🛑 bad
volumes:
- plugsy_service_config_volume/config.json:/config.json
💚 Better
volumes:
- plugsy_service_config_volume:/opt/plugsy/config/
👇🏻 My desired configuration
version: "3.3"
services:
plugsy:
restart: unless-stopped
image: plugsy/core
labels:
traefik.http.routers.piehole-ui-router.service: plugsy-ui-service
traefik.http.routers.plugsy-ui-router.rule: Host(`the.home.lan`)
traefik.http.services.plugsy-ui-service.loadbalancer.server.port: 3000
volumes:
- plugsy_service_config_volume:/opt/plugsy/config/
- /var/run/docker.sock:/var/run/docker.sock
volumes:
plugsy_service_config_volume:
networks:
default:
external:
name: traefik_proxy
I make editing these things easy by using codeserver to mount all the volumes that my services use.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels