-
Notifications
You must be signed in to change notification settings - Fork 306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can we use external mySQL database with this script? #77
Comments
bump - I want this too |
First methodYou need to create
Then you must to rebuild frontend with yarn or npm (up to you) and reload nginx or reboot container. Second MethodAlso, you can edit Third MethodAlso, you can edit
Then you must to rebuild frontend with yarn or npm (up to you) and reload nginx or reboot container. Fourth methodYou can use terminal command:
Then you must to rebuild frontend with yarn or npm (up to you) and reload nginx or reboot container. P.S, Closed? |
None of these methods appear to work. |
Hi @YakkaDev , thanks for your great answer! I'm pretty sure all those methods could work. |
@YakkaDev Thanks for the detailed answer, I will look at incorporating this into the install script. |
Hello @YakkaDev , I tried method 2: Firstly, I retrieved the SQLite3 database located at Next, I modified the I restarted the service, restarted the container. But no change, NPM doesn't pick up the changes from this file. Additionally, there's a README.md in the I'm looking for another solution... |
I have now tested method 3. This method works for connecting to an external database. Unfortunately, the conversion I made from SQLite3 to SQL did not work well, and I encountered a lot of errors. I tried to find the nominal structure in the source GitHub repository: https://github.com/NginxProxyManager/nginx-proxy-manager, but I couldn't find a .sql file to install a proper base for MySQL / MariaDB. Do you know if this file exists? Thank you |
So, I installed the docker version with MariaDB of NPM by opening port 3306 on the database part. I made a dump of the initial database to create a template. I changed the engine to INNODB because I am on a Galera Cluster (doesn't work with ARIA). And I imported this template into my cluster. Now it works. 😅 |
As the title says really.
I'd like to use an already existant mySQL db, as per this method in the official docker version. How can I edit your script to allow this?
Edit: I'm trying to run npm directly in an LXC container, no Proxmox in my setup.
The text was updated successfully, but these errors were encountered: