Problems with MariaDB running on the same port as MySQL and missing nginx configuration. #1534
-
Hi there! I am installing postal on my VPS and I am running with the following issues. Please note that my VPS has already software installed, including MySQL. (1) When adding the MariaDB docker image, I am getting this error:
How can I make this run in a different port? (2) There is no information on how to configure Nginx to launch postal. Which config do I need to put? Where is the root folder of the application? I remember that with Postal 1 we used to do something like this:
Thanks a lot!!!! Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 12 replies
-
Firstly, we highly recommend installing Postal on a dedicated machine. Any other configuration is not officially supported so you'll need to do a bit of research with Docker if you do want to use it to run another database instance on the same host. If you haven't used it yet, you can just delete For nginx, the only thing you need to do is forward all traffic to |
Beta Was this translation helpful? Give feedback.
-
I have solved the problem regarding MariaDB and Mysql. The proposed solution worked great. Based on your recommendation I have forwarded traffic to 127.0.0.1:5000 using the following configuration
and it loads correctly. However, when I try to access with my password, I get the following message:
My postal status looks like this:
I have checked the logs, but I don't find anything in particular. Here is a fragment of the logs when I interact with the webapp: https://pastebin.com/DnkJntYW Might this error be related to the fact that postal_smtp_1 has Exit 1? Thanks a lot! |
Beta Was this translation helpful? Give feedback.
Firstly, we highly recommend installing Postal on a dedicated machine. Any other configuration is not officially supported so you'll need to do a bit of research with Docker if you do want to use it to run another database instance on the same host. If you haven't used it yet, you can just delete
postal-mariadb
and make it again and change the local port in thedocker run
command (127.0.0.1:3307:3306
). You don't need a separate database server though, you can just use the one you already have running and put its credentials in your Postal config.For nginx, the only thing you need to do is forward all traffic to
127.0.0.1:5000
. There is no need to specify a root directory although you wil…