[RPI] Get this working on your rpi the simple way. #78

Closed
opened 2026-02-04 17:01:55 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @Sourgin on GitHub (Mar 13, 2021).

Hi, as I'm in debt to github for getting this working, and with you people of planka as well I will post a simple how-to

This guide has 3 steps, get docker + compose, get planka, enjoy it.

Step 1: Get docker + compose

curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo usermod -aG docker ${USER}
sudo su - ${USER}
sudo apt-get install libffi-dev libssl-dev
sudo apt install python3-dev
sudo apt-get install -y python3 python3-pip
sudo pip3 install docker-compose

Step 2: Copy paste or edit the provided docker-compose.yml

version: '3'

services:
planka:
image: meltyshev/planka:latest
container_name: planka
command: >
bash -c
"for i in seq 1 30; do
./start.sh &&
s=? && break || s=?;
echo "Tried $$i times. Waiting 5 seconds...";
sleep 5;
done; (exit $$s)"
restart: unless-stopped
volumes:
- user-avatars:/app/public/user-avatars
- project-background-images:/app/public/project-background-images
- attachments:/app/public/attachments
ports:
- 3000:1337
environment:
- BASE_URL=http://##YOURS HERE##:3000
- DATABASE_URL=postgresql://postgres@postgres/planka
- SECRET_KEY= ##YOURS HERE##
depends_on:
- postgres

postgres:
image: postgres:13.0-alpine
container_name: postgres
restart: unless-stopped
volumes:
- db-data:/var/lib/postgresql/data
environment:
- POSTGRES_DB=planka
- POSTGRES_HOST_AUTH_METHOD=trust

volumes:
user-avatars:
project-background-images:
attachments:
db-data:

Step 3 : Compose + enjoy
docker-compose up -d

Now it will be accessible trought RPIip:3000

Had several problems with containers/Postgre version with this it works like charm.

Originally created by @Sourgin on GitHub (Mar 13, 2021). Hi, as I'm in debt to github for getting this working, and with you people of planka as well I will post a simple how-to This guide has 3 steps, get docker + compose, get planka, enjoy it. Step 1: Get docker + compose ``` curl -fsSL https://get.docker.com -o get-docker.sh sudo sh get-docker.sh sudo usermod -aG docker ${USER} sudo su - ${USER} sudo apt-get install libffi-dev libssl-dev sudo apt install python3-dev sudo apt-get install -y python3 python3-pip sudo pip3 install docker-compose ``` Step 2: Copy paste or edit the provided docker-compose.yml > version: '3' > > services: > planka: > image: meltyshev/planka:latest > **container_name: planka** > command: > > bash -c > "for i in `seq 1 30`; do > ./start.sh && > s=$$? && break || s=$$?; > echo \"Tried $$i times. Waiting 5 seconds...\"; > sleep 5; > done; (exit $$s)" > restart: unless-stopped > volumes: > - user-avatars:/app/public/user-avatars > - project-background-images:/app/public/project-background-images > - attachments:/app/public/attachments > ports: > - 3000:1337 > environment: > - BASE_URL=http://**##YOURS HERE##**:3000 > - DATABASE_URL=postgresql://postgres@postgres/planka > - SECRET_KEY= **##YOURS HERE##** > depends_on: > - postgres > > postgres: > image: postgres:**13.0-alpine** > **container_name: postgres** > restart: unless-stopped > volumes: > - db-data:/var/lib/postgresql/data > environment: > - POSTGRES_DB=planka > - POSTGRES_HOST_AUTH_METHOD=trust > > volumes: > user-avatars: > project-background-images: > attachments: > db-data: Step 3 : Compose + enjoy `docker-compose up -d` Now it will be accessible trought RPIip:3000 Had several problems with containers/Postgre version with this it works like charm.
OVERLORD added the documentation label 2026-02-04 17:01:55 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#78