Deploy CI-built registry image
All checks were successful
Docker / build-and-push (push) Successful in 47s
All checks were successful
Docker / build-and-push (push) Successful in 47s
This commit is contained in:
@@ -35,8 +35,11 @@ Keyboard: `1`–`4` selects a route, `Enter` stamps or continues, `?` opens help
|
|||||||
|
|
||||||
## Deployment
|
## 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
|
```bash
|
||||||
docker compose up -d --build
|
docker compose pull
|
||||||
|
docker compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**Live:** [retur.games.goonk.se](https://retur.games.goonk.se)
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
services:
|
services:
|
||||||
retur:
|
retur:
|
||||||
build: .
|
image: repo.explewd.com/explewd/retur:latest
|
||||||
image: retur:latest
|
|
||||||
container_name: retur
|
container_name: retur
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
pull_policy: always
|
||||||
ports:
|
ports:
|
||||||
- "${HOST_PORT:-5694}:80"
|
- "${HOST_PORT:-5694}:80"
|
||||||
|
|||||||
Reference in New Issue
Block a user