Update README.md
This commit is contained in:
@@ -24,7 +24,7 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
backend:
|
backend:
|
||||||
image: git.sgruber.at/lunchtime/lunchtime-api:latest
|
image: git.sgruber.at/lunchtime/lunchtime-web:backend-latest
|
||||||
volumes:
|
volumes:
|
||||||
- ./.data:/app/data
|
- ./.data:/app/data
|
||||||
- ./config.yaml:/app/config.yaml:ro
|
- ./config.yaml:/app/config.yaml:ro
|
||||||
@@ -35,7 +35,7 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
image: git.sgruber.at/lunchtime/lunchtime-web:latest
|
image: git.sgruber.at/lunchtime/lunchtime-web:frontend-latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -46,17 +46,3 @@ docker compose up -d
|
|||||||
```
|
```
|
||||||
|
|
||||||
Open `http://localhost:8080`.
|
Open `http://localhost:8080`.
|
||||||
|
|
||||||
## CI/CD Registry Publish
|
|
||||||
|
|
||||||
The workflow in `.gitea/workflows/build-and-push-images.yaml` builds and pushes:
|
|
||||||
|
|
||||||
- `git.sgruber.at/lunchtime/lunchtime-web`
|
|
||||||
- `git.sgruber.at/lunchtime/lunchtime-api`
|
|
||||||
|
|
||||||
It tags images with the commit SHA and also `latest` on `main`/`master`.
|
|
||||||
|
|
||||||
Required repository secrets:
|
|
||||||
|
|
||||||
- `GITEA_REGISTRY_USER`
|
|
||||||
- `GITEA_REGISTRY_TOKEN`
|
|
||||||
|
|||||||
Reference in New Issue
Block a user