Rename docker-compose.yaml to compose.yaml and pull prebuilt images
All checks were successful
Build and Push Docker Images / build-and-push (push) Successful in 1m33s

Use the images published by the new Gitea Actions workflow instead
of building locally, so deploys just pull the latest tag.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-11 20:39:48 +02:00
parent 86cd77028c
commit 350ccdbaf7
2 changed files with 7 additions and 6 deletions

View File

@@ -32,7 +32,7 @@ Frontend translations live in `frontend/src/i18n/locales/<lang>/<namespace>.json
```
whowhat/
├── docker-compose.yaml # the only file needed to run everything
├── compose.yaml # the only file needed to run everything
├── .env # configuration (secrets, domain, SMTP) — do NOT commit
├── .env.example # configuration template to copy
├── sqlite/ # bind mount — app.db lives here (data persistence)
@@ -66,15 +66,16 @@ Docker (with the Compose plugin) is the only requirement.
```bash
cp .env.example .env
# fill in .env (see below) — no need to edit docker-compose.yaml
sudo docker compose up -d --build
# fill in .env (see below) — no need to edit compose.yaml
sudo docker compose pull
sudo docker compose up -d
```
The app will be available at `http://localhost:8856` (and at your Traefik domain, if configured — see below).
## Configuration (`.env`)
All deployment configuration lives in `.env``docker-compose.yaml` doesn't need editing.
All deployment configuration lives in `.env``compose.yaml` doesn't need editing.
| Variable | Description | Default |
|---|---|---|

View File

@@ -1,6 +1,6 @@
services:
backend:
build: ./backend
image: gitea.kzbikowski.pl/kzbkowski/whowhat/backend:latest
environment:
JWT_SECRET: ${JWT_SECRET:-please-change-this-secret-in-.env}
DATABASE_PATH: /app/data/app.db
@@ -19,7 +19,7 @@ services:
restart: unless-stopped
frontend:
build: ./frontend
image: gitea.kzbikowski.pl/kzbkowski/whowhat/frontend:latest
ports:
- "8856:80"
depends_on: