kan icon indicating copy to clipboard operation
kan copied to clipboard

More detailed Docker instructions

Open aknight2015 opened this issue 11 months ago • 4 comments

I'm trying to self host using Docker Desktop and your directions leave a lot of information out. I'm not as familiar with Docker as you all are and would appreciate the ability to self host Kan.bn. Docker Compose Plugin is installed as you recommended it in your instructions.

Docker desktop does offer the ability to import builds using .dockerbuild.zip files. Perhaps that could help.

aknight2015 avatar Dec 30 '25 02:12 aknight2015

Have you checked out the self hosting guide in our docs? @aknight2015

https://docs.kan.bn/guides/self-hosting/introduction

Keen to hear what areas you think are missing so we can improve our self-hosting guide

hjball avatar Jan 05 '26 20:01 hjball

I know Docker documents tell you where to put the docker-compose.yml file, but perhaps you could include it just to save people, who are new or never used docker before, time. Elaborate a bit more on "your_postgres_password" portion. I'm wondering how you set that up. Just type it in plaintext? Replace "your_postgres_password" with your password?

aknight2015 avatar Jan 06 '26 03:01 aknight2015

Hi @aknight2015

You should replace that password with a custom generated password.

You can use online tools like https://bitwarden.com/password-generator/ (Just make sure you trust the website, do not generate passwords on random "password generator" websites)

Or if you run WSL or Linux you could run a command similar to one of the following:

root@machine:/mnt/docker/kanbn# openssl rand -base64 24 | tr -dc 'a-zA-Z0-9' | head -c 32
t8jdpEDquodrTI9sN16uQ591fMNqS
root@machine:/mnt/docker/kanbn# 
root@machine:/mnt/docker/kanbn# openssl rand -hex 16
9354bac652a7878fac98660c0b984d0a
root@machine:/mnt/docker/kanbn#

I always use a generated password. Lots of randomness.

aknight2015 avatar Feb 07 '26 16:02 aknight2015