Persistent extensions volume in Docker
Currently my panel is a clone of the pterodactyl panel repo with an added extension for managing minecraft modpacks (this was before we decided to use blueprint).
So now I tried adding the blueprint and I did so by unpacking the blueprint and putting everything from it directly into the panel. I added the installation of dependencies required for blueprint and added execution of blueprint.sh.
It all works, and I can install an extension (extension works fine too), but if I redeploy the project the extension is "removed". I can't see the new extension in the extensions tab but if I reinstall it will have all the data (it's an expansion for managing subdomains and it has domains I've added before), I guess because it saves it to the db of the panel.
Do I have to reinstall the extension each time I redeploy the project or is it possible to keep the extensions?
I've tried making a volume for /app/.blueprint/extensions but even then I don't see it in the extensions tab and when I try to reinstall the subdomains extension I get error 500 (log from panel is:
Is it maybe because blueprint.sh runs everytime on redeployment because it's in a dockerfile?
I also tried executing blueprint.sh inside ENTRYPOINT and mounting /app/.blueprint volume but then I get the error to finish installing blueprint.
So now I tried adding the blueprint and I did so by unpacking the blueprint and putting everything from it directly into the panel. I added the installation of dependencies required for blueprint and added execution of blueprint.sh.
It all works, and I can install an extension (extension works fine too), but if I redeploy the project the extension is "removed". I can't see the new extension in the extensions tab but if I reinstall it will have all the data (it's an expansion for managing subdomains and it has domains I've added before), I guess because it saves it to the db of the panel.
Do I have to reinstall the extension each time I redeploy the project or is it possible to keep the extensions?
I've tried making a volume for /app/.blueprint/extensions but even then I don't see it in the extensions tab and when I try to reinstall the subdomains extension I get error 500 (log from panel is:
Is it maybe because blueprint.sh runs everytime on redeployment because it's in a dockerfile?
I also tried executing blueprint.sh inside ENTRYPOINT and mounting /app/.blueprint volume but then I get the error to finish installing blueprint.
