Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
liviuba committed May 17, 2024
1 parent 4c6a842 commit 832a74e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
11 changes: 10 additions & 1 deletion api/local/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## Setup

```sh
minikube start --memory=10000 --cpus=4 --extra-config=apiserver.service-node-port-range=1-65535

Expand All @@ -11,4 +13,11 @@ kubectl create secret --namespace api docker-registry ghcr-creds \
```

* `cp .env_template .env`
* helmsman --apply -f helmsman_local.yml -e .env
* helmsman --apply -f helmsman_local.yml -e .env

## Accessing apps

```bash
kubectl port-forward svc/mongo-mongodb 27017:27017
kubectl port-forward svc/api 8080:8080
```
2 changes: 1 addition & 1 deletion api/local/api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ image:
pullPolicy: IfNotPresent

service:
type: NodePort
type: ClusterIP
port: 8080

ingress:
Expand Down
2 changes: 1 addition & 1 deletion api/local/mongo_values.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ auth:
rootUser: ""
rootPassword: ""
service:
type: LoadBalancer
type: ClusterIP
nodePorts:
mongodb: "27017"

0 comments on commit 832a74e

Please sign in to comment.