From 350ccdbaf72ffdc91c435303c72546948daa6c26 Mon Sep 17 00:00:00 2001 From: Kacper Date: Sat, 11 Jul 2026 20:39:48 +0200 Subject: [PATCH] Rename docker-compose.yaml to compose.yaml and pull prebuilt images 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 --- README.md | 9 +++++---- docker-compose.yaml => compose.yaml | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) rename docker-compose.yaml => compose.yaml (89%) diff --git a/README.md b/README.md index 313a2eb..fc4039d 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Frontend translations live in `frontend/src/i18n/locales//.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 | |---|---|---| diff --git a/docker-compose.yaml b/compose.yaml similarity index 89% rename from docker-compose.yaml rename to compose.yaml index e27ece0..80164c5 100644 --- a/docker-compose.yaml +++ b/compose.yaml @@ -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: