mirror of
https://github.com/alexandrev/xslt-lab.git
synced 2026-09-16 18:23:16 +00:00
Add Helm chart for Kubernetes deployment
This commit is contained in:
@@ -100,3 +100,20 @@ The compose file builds the frontend with `VITE_BACKEND_URL=http://backend:8000`
|
||||
so it talks to the backend container.
|
||||
|
||||
This starts the backend on port `8000`, the frontend on `3000` and a PostgreSQL instance on `5432`.
|
||||
|
||||
## Helm Chart
|
||||
|
||||
A Helm chart is provided under `charts/xslt-playground` to deploy the frontend and backend on Kubernetes. Before installing, create a secret with your Firebase credentials:
|
||||
|
||||
```bash
|
||||
kubectl create secret generic firebase-config \
|
||||
--from-file=service-account.json=</path/to/serviceAccount.json> \
|
||||
--from-file=firebase-config.json=</path/to/firebaseConfig.json>
|
||||
```
|
||||
|
||||
Install the chart with:
|
||||
|
||||
```bash
|
||||
helm install xslt charts/xslt-playground
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user