feat(docker): use pre-built GHCR image in docker-compose by default (#25)

docker-compose.yml now references ghcr.io/ulsklyc/oikos:latest so users
can start the app with a single 'docker compose up' without cloning or
building locally. The build: . entry is retained for contributors who
want to build from source with --build.

README Quick Start updated to document both the no-clone path (curl
docker-compose + .env.example) and the build-from-source path.
This commit is contained in:
Ulas
2026-04-05 16:20:24 +02:00
parent 19a7161307
commit 7292b14945
4 changed files with 23 additions and 4 deletions
+13 -1
View File
@@ -65,9 +65,21 @@
## Quick Start
**Option A — pre-built image (fastest, no clone required):**
```bash
curl -O https://raw.githubusercontent.com/ulsklyc/oikos/main/docker-compose.yml
curl -O https://raw.githubusercontent.com/ulsklyc/oikos/main/.env.example
cp .env.example .env # edit .env — set SESSION_SECRET and DB_ENCRYPTION_KEY
docker compose up -d
docker compose exec oikos node setup.js
```
**Option B — build from source:**
```bash
git clone https://github.com/ulsklyc/oikos.git && cd oikos
cp .env.example .env # then edit .env - set SESSION_SECRET and DB_ENCRYPTION_KEY
cp .env.example .env # edit .env set SESSION_SECRET and DB_ENCRYPTION_KEY
docker compose up -d --build
docker compose exec oikos node setup.js
```