Changeset 0.9.2 (#52)

This commit is contained in:
2026-02-23 19:31:33 +00:00
parent febcbde3d7
commit ac7c7c7d59
25 changed files with 534 additions and 54 deletions

View File

@@ -66,6 +66,7 @@ All configuration via environment variables. See `server/.env.example` for the f
| `JWT_SECRET` | (required) | Token signing key |
| `SWITCHBOARD_ADMIN_USERNAME` | ` ` | Bootstrap admin username |
| `SWITCHBOARD_ADMIN_PASSWORD` | ` ` | Bootstrap admin password |
| `SEED_USERS` | ` ` | Dev/test only: `user:pass:role,user2:pass2:role2` |
## Deployment
@@ -90,8 +91,8 @@ docker compose --profile dev up # include Adminer DB UI
Build and push both images:
```bash
docker build -f server/Dockerfile -t your-registry/switchboard-api:0.9.1 server/
docker build -f Dockerfile.frontend -t your-registry/switchboard-fe:0.9.1 .
docker build -f server/Dockerfile -t your-registry/switchboard-api:0.9.2 server/
docker build -f Dockerfile.frontend -t your-registry/switchboard-fe:0.9.2 .
```
**Backend deployment:**
@@ -99,7 +100,7 @@ docker build -f Dockerfile.frontend -t your-registry/switchboard-fe:0.9.1 .
```yaml
containers:
- name: api
image: your-registry/switchboard-api:0.9.1
image: your-registry/switchboard-api:0.9.2
ports:
- containerPort: 8080
env:
@@ -119,7 +120,7 @@ containers:
```yaml
containers:
- name: frontend
image: your-registry/switchboard-fe:0.9.1
image: your-registry/switchboard-fe:0.9.2
ports:
- containerPort: 80
env: