https://github.com/techiescamp/pomodoro-infra-configs
Infra configs for Promodoro Application
https://github.com/techiescamp/pomodoro-infra-configs
Last synced: 6 months ago
JSON representation
Infra configs for Promodoro Application
- Host: GitHub
- URL: https://github.com/techiescamp/pomodoro-infra-configs
- Owner: techiescamp
- Created: 2024-06-20T05:56:11.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-04T07:02:55.000Z (over 1 year ago)
- Last Synced: 2025-07-02T07:04:09.271Z (about 1 year ago)
- Size: 32.2 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pomodoro-infra-configs
Infra configs for Promodoro Application
## Commands to deploy helm chart
Make sure you are inside helm-chart directory and deploy helm charts in below order.
### Deploy Database
Modify the values.yaml file with your configuration and run the following command. Especially secret username and password
```bash
helm install pomodoro-db db -n db --create-namespace
```
### Deploy Report Backend
Modify the values.yaml file with your configuration and run the following command. Especially the mongourl under configmap template file data. If you change username and password in database, change it here as well.
```bash
helm install pomodoro-report-backend report-backend -n backend --create-namespace
```
### Deploy Backend
Modify the values.yaml file with your configuration and run the following command. Especially the values under configmap template file data.
Even though the frontend is not deployed, you have to give the frontend url. The base url will be your nodeip and nodeport you are going to expose the frontend. Same goes for report backend url.
```bash
helm install pomodoro-backend backend -n backend --create-namespace
```
### Deploy Frontend
Modify the values.yaml file with your configuration and run the following command. Especially the values under configmap template file data.
```bash
helm install pomodoro-frontend frontend -n frontend --create-namespace
```
## Commands to deploy helm chart
If you no longer need the setup, run the following command to delete it.
### Frontend
```bash
helm delete pomodoro-frontend -n frontend
```
### Backend
```bash
helm delete pomodoro-backend -n backend
```
### Report Backend
```bash
helm delete pomodoro-report-backend -n backend
```
### Database
```bash
helm delete pomodoro-db -n db
```