Are you looking for a powerful and efficient kanban board solution for your project management needs? Look no further! Planka is a self-hosted Trello-like kanban board built with React and Redux. In this article, we will guide you through the process of installing Planka on Rocky Linux 9, ensuring you have all the necessary prerequisites and step-by-step instructions to get started.
Install Planka with Docker
To install Planka using Docker, we will be using Docker-Compose and the Planka Docker Image. Follow the steps below:
- Start by downloading the Docker-Compose configuration file:
curl -L https://raw.githubusercontent.com/plankanban/planka/master/docker-compose.yml -o docker-compose.yml
- Next, open the
docker-compose.yml
file and make the following changes to the variables:
BASE_URL
: Replacelocalhost
with the actual IP address of your server.SECRET_KEY
: Change this to a random string/password.user-avatars
: Set this to a path within your server where the user avatars will be stored.project-background-images
: Set this to a path within your server where the project background images will be stored.attachments
: Set this to a path within your server where the attachments will be stored.db-data
: Set this to a path within your server where the database data will be stored.
Here is an example of how the modified docker-compose.yml
file may look:
version: '3' services: planka: image: ghcr.io/plankanban/planka:latest 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/private/attachments ports: - 3000:1337 environment: - BASE_URL=http://localhost:3000 - TRUST_PROXY=0 - DATABASE_URL=postgresql://postgres@postgres/planka - SECRET_KEY=notsecretkey depends_on: - postgres postgres: image: postgres:14-alpine 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:
- After modifying the
docker-compose.yml
file, start the Planka container by running the following command:
docker-compose up -d
This command will pull the necessary Docker images and start the container. The installation process may take a few minutes to complete.
- To verify if the Planka container is running, you can check the output of the
docker ps
command:
docker ps
If the container is running, you should see something similar to the following output:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e22e9f27a1e4 ghcr.io/plankanban/planka:latest "docker-entrypoint.s…" 19 minutes ago Up 19 minutes 0.0.0.0:3000->1337/tcp, :::3000->1337/tcp root-planka-1
7b15642535d3 postgres:14-alpine "docker-entrypoint.s…" 19 minutes ago Up 19 minutes 5432/tcp root-postgres-1
Accessing Planka
Once you have successfully installed Planka with Docker on Rocky Linux 9, you can access it through your browser. Follow the steps below:
- Open your browser and enter the IP address or domain name of your server, followed by
:3000/login
. For example:
http://server.ip.address:3000/login
Replace server.ip.address
with the actual IP address or domain configured on your server.
- The default login credentials for Planka are as follows:
- Username: demo@demo.demo
- Password: demo
Upon successful login, you can change the username, password, email ID, and other user information from the Settings menu.
Conclusion
Congratulations! You have successfully installed Planka with Docker on your Rocky Linux 9 system. Planka provides a powerful and efficient kanban board solution for your project management needs. With its intuitive interface and flexible features, you can streamline your workflow and collaborate effectively. Take advantage of Planka’s self-hosted nature to ensure data security and privacy.
If you need further assistance or have any questions, feel free to reach out to our 24×7 in-house customer support. Shape.host offers reliable and scalable Cloud VPS services, starting at just $5/month. Empower your business with our efficient and secure hosting solutions.