mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 09:25:55 +03:00
[GH-ISSUE #200] No-config databases or json data storage #177
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#177
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 @Daemach on GitHub (Sep 13, 2019).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/200
FWIW, it would be nice to remove the need for database configuration, or an extra database, by using redis, couchbase, mongodb or other nosql databases, or better yet just store/persist the data in a json file that can be stored on a volume or NFS share. Configs will not change often enough to justify a full database with its added complexity and overhead.
@talondnb commented on GitHub (Sep 23, 2019):
I agree with this, it becomes a bit of a pain having to launch the containers in certain order unless I'm missing something?
@bstin commented on GitHub (Oct 1, 2019):
A possible solution that may be quicker to implement is just base this around sqlite? That way the db and db-engine can just be part of same container and generally be invisible to user.
@meichthys commented on GitHub (Apr 26, 2020):
Has this been implemented? I can't seem to find any documentation or dev versions that have this.
@timdonovanuk commented on GitHub (Jun 8, 2020):
+1 to this. A mysql database takes up 250mb+ to store the < 2kb of data required to make nginx-proxy-manager work. Absolutely nuts.
@renannprado commented on GitHub (Jun 27, 2020):
I was about to try it out, but requiring a database for this purpose is a no-go for me.
I'll try out this one https://github.com/schenkd/nginx-ui it seems it doesn't require a database.
@guiguid commented on GitHub (Jul 11, 2020):
+1 having mariadb for storing 99% of 10kb readonly data on embed devices make this powerfull software useless.
It also add more maintenance, less robustness, more attack surface.
@meichthys commented on GitHub (Jul 11, 2020):
Most other containers that don’t need such a robust database use SQLite which exists in a single file and is quite reliable (even used by some major browsers).
Being able to migrate a single file (whether an SQLite dB or a JSON file would make things much easier when needing to migrate).
@meichthys commented on GitHub (Jul 17, 2020):
@tg44 Do you know how we might be able to get a working instance using Sqlite?
@tg44 commented on GitHub (Aug 5, 2020):
Heads up to this thread; Sqlite works!
Example db config;
github.com/tg44/nginx-proxy-manager@6690b7735d/backend/config/sqlite-test-db.json@meichthys commented on GitHub (Aug 6, 2020):
@tg44 Great news! I can't wait to try this!
@meichthys commented on GitHub (Aug 15, 2020):
@tg44 Do you know what a sample docker compose would look like using SQlite?
@tg44 commented on GitHub (Aug 15, 2020):
My currently working compose;
And config json;
I think using
latestorgithub-developtags should work too, and they are much safer to use than any pr tags.@meichthys commented on GitHub (Aug 16, 2020):
@tg44 Perfect. Thanks! This work for me too.
@Daemach I think we can close this issue.
@meichthys commented on GitHub (Sep 8, 2020):
@tg44 The SQLite configuration works great, however i'm having troubles requesting an SSL certificate. It seems to fetch the certificate correctly, but there seems to be an issue with an SQL datetime conversion. (See #584)
@MrCaringi commented on GitHub (Mar 2, 2021):
thanks @tg44 !!! it worked for me too!
@timdonovanuk commented on GitHub (Mar 2, 2021):
Any idea how to migrate from an existing mysql nginx-proxy-manager install?
@tg44 commented on GitHub (Mar 2, 2021):
@timdonovanuk mysql2sqlite should work well.
@timdonovanuk commented on GitHub (Mar 2, 2021):
@tg44 awesome, thanks!
@ionescu77 commented on GitHub (May 10, 2021):
Thank you all!
3.8.0tov2.9.2worked with no problemshttps://nginxproxymanager.com/setup/
So I guess no need for mysql anymore.