mirror of
https://github.com/runyanjake/olomana.git
synced 2025-10-04 13:27:28 -07:00
1.2 KiB
1.2 KiB
Planka
Self hosted Kanban organizer.
Setup
General
- (If not using checked in Dockerfile) Use the Dockerfile from Planka:
curl -L https://raw.githubusercontent.com/plankanban/planka/master/docker-compose.yml -o ./docker-compose.yml
- This is what I changed from their base Dockerfile to get a runnable container when you checkout the repo:
- Convert exposed ports to traefik labels for the main container.
- Introduce Traefik network + create planka network for the containers to talk on.
- Convert volumes to bind mounts on disk.
- Convert to using env files instead of manually providing env vars.
- Create Env files
Copy
planka.env.example
toplanka.env
, andplanka-db.env.example
toplanka-db.env
and fill with data, observing the following:
- Update
BASE_URL
to point to vanity URL. Optionally generate aSECRET_KEY
as well. - The
POSTGRES_DB
value inplanka-db.env
should match the database specified byDATABASE_URL
inplanka.env
.
- Start just the db
docker compose up -d postgres
- Create Admin User
docker compose run --rm planka npm run db:create-admin-user
- Start the rest of Dockerfile
docker compose up -d