mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-28 10:55:54 +03:00
[GH-ISSUE #2679] update for docker-compose setup exmaples #1844
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#1844
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ccppoo on GitHub (Mar 13, 2023).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2679
Is your feature request related to a problem? Please describe.
update for documentation's sample
docker-compose.yamlDescribe the solution you'd like
example
docker-compose.yamlscript from documentationuses mounting volume(folder) for database and npm folders.
but it's error prone because your sample script is using relative path
./datathat
**./data**could cause error depending on where the user rundocker-compose up -f /path/to/docker-compose.ymlif
./dataalready existed error bellow could happen (that most of the people asks at issue tab)error example 1
error example 2
error that shows bad gateway first login such as this issue
so solution
no one mentioned this issue because he solved his own problem and closed the issue
https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1832
I saw other solutions at stackoverflow or reddit but
this was the most simple and safe from other side affect (which could be caused by editing config files)
it just adds docker volume (in my case external - so it could be safe when redeployed)
docker-compose.yamlI used and workedjust adding external docker volume
@github-actions[bot] commented on GitHub (Jan 26, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@github-actions[bot] commented on GitHub (Mar 12, 2025):
Issue was closed due to inactivity.