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)
- Error creating wilcard ssl certificate with cloudflare HOT 2
- 'force HTTPS' switch not recognized when creating new (proxy) host HOT 1
- ACLs does not work when using rootless HOT 1
- Cache purge for specific proxy host
- LE cert - error 403 HOT 1
- Document all available API endpoints HOT 3
- No peer certificate for SSL resulting in UNRECOGNIZED NAME error
- Ipv64.net - DNS challenge provider
- Let's Encrypt Cloudflare Provider HOT 4
- [ADD] HTTP/3 + QUIC support
- No secured Web UI in the cluster
- cert-manager.com (Sectigo Network Agent) integration
- 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 4
- [ FEATURE REQUEST ] : categories
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.