Publish prebuilt Docker images to GHCR

GitHub Actions builds and pushes multi-arch (amd64/arm64) api/web
images to ghcr.io on every push to main and on version tags, so
self-hosters can 'docker compose pull' instead of building from
source. compose.yml keeps both image: and build: so building locally
still works via --build.
This commit is contained in:
Duarte Santos committed 2026-07-21 11:11:26 +02:00
1 parent 4c2b6344f7
commit 8e20c2c304
5 files changed
+83 -2

No files matched your search

+4 -2
View File
@@ -65,12 +65,14 @@ You need [Docker](https://docs.docker.com/get-docker/) with Compose.
git clone https://github.com/DuarteSantos8/openGym
cd openGym
cp .env.example .env
docker compose pull # grab prebuilt images (amd64 + arm64) — skip to build from source instead
docker compose up -d
```
Open **http://localhost:8080**, tap **Create profile**, and you're in. First launch downloads
the exercise media (~140 MB) once and builds the app inside Docker — you don't need Node or a
build step locally.
the exercise media (~140 MB) once. Prefer building the images yourself instead of pulling from
`ghcr.io`? Drop the `pull` step and run `docker compose up -d --build` — you don't need Node or
a build step locally either way.
> Want it reachable from your phone over the internet with passkeys? You'll need an HTTPS
> domain — a two-line change in `.env`. See **[docs/SELF_HOSTING.md](docs/SELF_HOSTING.md)**.