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.
I'd like to configure plugsy configuration to be stored in anamed volume, but you dictate that the
config.jsonis in the root of the filesystem.the syntax for declaring named volumes implies they are like folders :
馃洃 bad
馃挌 Better
馃憞馃徎 My desired configuration
I make editing these things easy by using codeserver to mount all the volumes that my services use.