How do I mount the volumes?

INFORMATION HAS BEEN ALTERED BUT PROVIDED IN A WAY TO GIVE CONTEXT OF THE SITUATION Hi, I'm currently having issues trying to mount the volumes I am mounting them under /opt/mnt/netbird where I have a virtual disk mounted Inside that folder of /netbird, I have copied my docker volumes from /var/lib/docker/volumes I copied 3 folders over netbird_netbird-letsencrypt netbird_netbird-mgmt netbird_netbird-signal I then went into the docker compose tmpl file and changed the volume locations volumes: - /opt/netbird/netbird/${LETSENCRYPT_VOLUMENAME}:/etc/letsencrypt/ volumes: - /opt/netbird/netbird/${SIGNAL_VOLUMENAME}:/var/lib/netbird volumes: - /opt/netbird/netbird/${MGMT_VOLUMENAME}:/var/lib/netbird - /opt/netbird/netbird/${LETSENCRYPT_VOLUMENAME}:/etc/letsencrypt:ro - /opt/netbird/netbird/management.json:/etc/netbird/management.json volumes: - /opt/netbird/netbird/turnserver.conf:/etc/turnserver.conf:ro I then commented out the #volumes: $MGMT_VOLUMENAME: $SIGNAL_VOLUMENAME: $LETSENCRYPT_VOLUMENAME: When I visit my netbird webui, It prompts my authentik and then afterwards give me a 404 I see this error on my docker logs Error: failed reading provided config file: /etc/netbird/management.json: read /etc/netbird/management.json: is a directory Error: failed reading provided config file: /etc/netbird/management.json: read /etc/netbird/management.json: is a directory Error: failed reading provided config file: /etc/netbird/management.json: read /etc/netbird/management.json: is a directory I have tried directly mounting the volumes as well without variables with the same results Exampls such as volumes: - /opt/netbird/netbird/mgmt:/var/lib/netbird - /opt/netbird/netbird/letsencrypt:/etc/letsencrypt:ro Thank you, all help or advice is appreciated!!
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?