diff --git a/README.md b/README.md index 65b9552..d36a379 100644 --- a/README.md +++ b/README.md @@ -35,8 +35,11 @@ Keyboard: `1`–`4` selects a route, `Enter` stamps or continues, `?` opens help ## Deployment -The production image is a static Vite build served by nginx. +The production image is a static Vite build served by nginx. A push to `main` triggers the Gitea Actions workflow, which builds and publishes `repo.explewd.com/explewd/retur:latest` plus an immutable short-SHA tag. The deployment host pulls that image through Docker Compose. ```bash -docker compose up -d --build +docker compose pull +docker compose up -d ``` + +**Live:** [retur.games.goonk.se](https://retur.games.goonk.se) diff --git a/docker-compose.yml b/docker-compose.yml index 3e7e0f3..a78783c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,8 +1,8 @@ services: retur: - build: . - image: retur:latest + image: repo.explewd.com/explewd/retur:latest container_name: retur restart: unless-stopped + pull_policy: always ports: - "${HOST_PORT:-5694}:80"