Changeset 0.9.2 (#52)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user