mirror of
https://github.com/runyanjake/olomana.git
synced 2025-10-05 13:47:30 -07:00
Karakeep
An AI powered notes, bookmarks, everything knowledge base.
Setup
General
- (If not using checked in Dockerfile) Use the Dockerfile from Karakeep:
wget https://raw.githubusercontent.com/karakeep-app/karakeep/main/docker/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 karakeep 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. For some reason the dockerfile mixes use of explicit vars and .env file. Weird
- 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