Comments (4)
That is an issue (or feature) of portainer when you create a stack and use relative paths for your volumes. Whenever the stack/compose content is updated, it creates a new version and you end up with a whole new 'v##' folder which is used for relative volume mappings. I switched to using absolute paths for the volumes because of this.
from nginx-proxy-manager.
Hi remcoros,
at the end i suspected portainer for doing this. Thanks a lot for confirming this!
Also i see there is a version switch at the right upper corner when you edit the stack.
How did you manage to switch to absolute paths?
Best,
Bodo
from nginx-proxy-manager.
don't use ./data:/data
, but point to a full path on your host system like this:
volumes:
- /data/nginx-proxy-manager/data:/data
from nginx-proxy-manager.
Thats a way better answer than KI:
Gemini: how do i prevent portainer from creating new versions of stack direcories?
There isn't a direct way to disable stack versioning in Portainer currently. This feature was a point of discussion among users on the Portainer GitHub Discussions https://github.com/orgs/portainer/discussions/10415.
Here are two options to consider:
-
Use Portainer CE: If stack versioning is a major inconvenience, you can switch to the Portainer Community Edition (CE). Unlike the Business Edition, the CE version doesn't automatically create new versions for your stacks.
-
Manage Data Volumes Manually: Even with stack versioning, your data volumes (folders containing persistent data) typically remain in the original location. You can manage these volumes manually and copy them over to the new version directory if needed. This approach requires some manual intervention but avoids creating new data copies every time.
thanks again!
from nginx-proxy-manager.
Related Issues (20)
- cert-manager.com (Sectigo Network Agent) integration HOT 1
- Update HOT 1
- Very slow loading behind Cloudflare proxy HOT 1
- NPM Broken? Bad underlying tool sets? HOT 3
- Internal Error HOT 2
- Add support for armv7 with system page size of 32K
- Dahua IP camera and nginx reverse proxy HOT 5
- [ FEATURE REQUEST ] : categories
- Cannot get new SSL certificates on Debian 12 with rootless Docker
- Request: Allow us to pass dns_transip_global_key option to certbot
- Unable to login - No relevant user found HOT 1
- Bad Gateway HOT 2
- The data is gone, but proxy works properly.
- Bad Gateway HOT 4
- "Open ()" errors in fallback_error.log
- Jekyll pagnition jump problem when served behind NPM
- "Bad Gateway" after adding a proxy host and a certificate HOT 3
- Cannot read property '1' of null - signed with windows ca HOT 1
- trim whitespaces on forward domain/hostname/ip
- Proxy host not resolving on mobile but is working perfectly on my PCs HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nginx-proxy-manager.