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/ 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 # configuration (secrets, domain, SMTP) — do NOT commit
├── .env.example # configuration template to copy ├── .env.example # configuration template to copy
├── sqlite/ # bind mount — app.db lives here (data persistence) ├── sqlite/ # bind mount — app.db lives here (data persistence)
@@ -66,15 +66,16 @@ Docker (with the Compose plugin) is the only requirement.
```bash ```bash
cp .env.example .env cp .env.example .env
# fill in .env (see below) — no need to edit docker-compose.yaml # fill in .env (see below) — no need to edit compose.yaml
sudo docker compose up -d --build 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). The app will be available at `http://localhost:8856` (and at your Traefik domain, if configured — see below).
## Configuration (`.env`) ## 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 | | Variable | Description | Default |
|---|---|---| |---|---|---|

View File

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