Setting up Planka on a pre-existing Ubuntu VPS #1275
-
|
Hello, I'm Drew. I own a virtual private server for various web needs - primarily small websites. On one of these websites, I'd like to install and use Planka! My friend (a software engineer) and I took a quick look at the requirements, and most of it looks okay! There are a few things I'd like to clarify, however. Firstly, as this is a pre-established VPS, we will need to use the manual installation instructions, correct? As such, it seems we will need to run Planka on a port that is not 80 / 443 since apache is already using it. Secondly, it seems Planka can't do HTTPS (we already have HTTPS on our websites). So, my friend says we'd have to set up a reverse proxy. We found this related document. My friend noted that we'd have to set up SSL manually because certbot can't do it automatically in this case. Thirdly, we use MariaDB instead of Postgre. Can we merely use MariaDB for Planka, or should we install the other one anyway? As an aside, is it fine to use a subfolder instead of a subdomain? i.e. With all these factors in mind, I'm not sure what actions I should take and in which order. Hopefully our situation is compatible with the software. I'm really excited about the V2 updates for Planka and am eager to get started! Thanks in advance for any clarifications or guidance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
|
Hi! I'll try to answer some of your questions and hopefully point you in the right direction 😊
You could go with the manual install, but honestly, using Docker might be even easier - it isolates everything, handles the database setup for you, and makes updates simpler too. Totally up to you, though!
Yep, PLANKA doesn't handle HTTPS on its own, so using a reverse proxy (like Apache or Nginx) is the right move. As for SSL - Certbot can still automate things, depending on how your reverse proxy is set up. You can check Certbot's instructions here: https://certbot.eff.org/instructions?ws=nginx&os=pip (choose your actual server type in the dropdown).
Unfortunately, PLANKA only works with Postgres - MariaDB isn't supported. If you go with the Docker installation, though, it comes with Postgres already set up via Docker Compose, so you wouldn't have to install it separately.
Currently, PLANKA v2 doesn't support running under a subfolder, so you'd need to use a subdomain. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @meltyshev . Life went sideways for awhile, but I am making a renewed attempt to install Planka. I have successfully set up Docker as well as the Planka instance within it. That much is a major relief! My plan is to run the docker instance through a subdomain on my website. I'm wondering if you know about reverse proxy setup as it relates to the Planka on a subdomain, as I'm finding myself a bit confused. You mentioned that Planka doesn't handle HTTPS by itself, and that I'd need to use a reverse proxy. However, in the Planka install document (Step 3), it mentions generating a secret key which seems to relate to SSL (command "openssl rand -hex 64"). Is this the only SSL key I need for the subdomain, or do I still need to get a second key from certbot? Side question: Does this mean the kanban board will be served over HTTPS after all? Perhaps I mistook "Planka doesn't handle HTTPS on its own" as "Planka must run on HTTP (no S)". Or perhaps the install process has changed since last year. 😅 Secondly, I'd like to ask about the vhost file for Apache. I'm using the config sample as a basis. I'm smart enough to know to change the domain, but I don't know what the guide is asking me to do when it says "be sure to set up SSL correctly." I have placed the key from before into the docker-compose.yml file, and I have enabled the "site" for this subdomain's vhost file along with an apache refresh. Docker is also running. As it stands, my result is a privacy error. I am not sure if I need to edit other parts of the vhost file, like the port numbers. One of my teammates indicated that since we're already running apache on port 80, we'd need to assign this Planka subdomain to another port. My vhost file looks like this: |
Beta Was this translation helpful? Give feedback.

Hi,
which port do use in your docker-compose.yml file?
is it 1337:1337 or 3000:1337?
if you have 3000:1337 just change it to 1337:1337 or even better
127.0.0.1:1337:1337than just rundocker compose up -dagainI guess this will fix your issue