mirror of
https://github.com/plankanban/planka.git
synced 2026-02-25 11:21:03 +03:00
Make planka usable without Docker. #87
Reference in New Issue
Block a user
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 @skid9000 on GitHub (Mar 24, 2021).
Hello,
As a system administrator, Docker is pure nightmare, i won't dig into details (because that isn't what i'm here for) but i wish planka was usable without having to rely on docker.
I'm trying to make my own documentation on my side but considering how the Dockerfile is made (with copies of some folders for each build), it isn’t reasonable to maintain this doc properly (especially in a production environnement, when it well be released).
So far i made sure to setup everything (based on your Dockerfile) on my debian test machine, install deps, init the db, but trying starting the node app gave me this error.
I did setup the BASE_URL env to http://localhost:9876 and SECRET_KEY + DATABASE_URL to the expected values.
Please consider this issue as not everybody wants to install a docker environnement just for Planka.
I would be happy to make a PR with a setup documentation for some distros (starting with Debian).
@meltyshev commented on GitHub (Mar 24, 2021):
Hi! We also use it without Docker. It seems like the
server\sails.rcfile is missed or doesn't load properly, so you receive an error thatsails.config.paths.publicis undefined.@skid9000 commented on GitHub (Mar 24, 2021):
The file do exist.
As per a friend recommendation i copied it to the home folder (for the planka user).
Now it does start, tho for some reason, it dosen't take the BASE_URL env for the listening port.
I saw that there was a .env file, i tried editing it, but same result 🤔 (i also tried to copy it to the working dir).
For context, i tried replicating what your Dockerfile does, so /srv/planka-app as /app, i don't know if there is a better way to do this.
@meltyshev commented on GitHub (Mar 24, 2021):
BASE_URL is only needed to prepend it to the static file URL. Port can be configured by the --port option when lifting or in the config files.
@skid9000 commented on GitHub (Mar 24, 2021):
Ok it works, thanks :)
@Jieiku commented on GitHub (Nov 30, 2021):
I got it up and running on Ubuntu 20.04 but I hit a snag: https://github.com/plankanban/planka/issues/184
@skid9000 commented on GitHub (May 2, 2024):
Closing this issue as there is now an official documentation to install without docker : https://docs.planka.cloud/docs/installation/manual_installation/debian_ubuntu/