Skip to content

Commit

Permalink
chore: update deploy doc;
Browse files Browse the repository at this point in the history
  • Loading branch information
maslow committed May 13, 2022
1 parent 68e009d commit 96449b8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
5 changes: 5 additions & 0 deletions deploy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ docker-compose up
# 浏览器打开 http://console.local-dev.host:8000 访问
```

> TIPs:
> We provide `*.local-dev.host` always resolved to `127.0.0.1` anywhere!
> Close your VPN then `local-dev.host` resolving works well.

### 开发环境(开发者)

```sh
Expand Down
1 change: 1 addition & 0 deletions deploy/docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ version: '3.8'
services:
mongo:
image: bitnami/mongodb:5.0.8
# image: bitnami/mongodb:4.4.13 # Use this version for Apple M1 Chip
environment:
- MONGODB_REPLICA_SET_MODE=primary
- MONGODB_ADVERTISED_HOSTNAME=mongo
Expand Down
9 changes: 7 additions & 2 deletions deploy/kubernetes/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

## Run laf on kubernetes cluster

> Mongodb is NOT provided, your should config a mongodb server for it before run laf cluster.
> WARNING: Mongodb & MinIO are running without PVC in this sample, you SHOULD config your own MongoDb & MinIO cluster with PVC.
> Edit `config.yml` to config your laf cluster first.
Expand All @@ -15,4 +15,9 @@ helm install ingress-nginx ingress-nginx/ingress-nginx

# run laf cluster
kubectl apply -f .
```
```


## Trouble shooting

> TODO

0 comments on commit 96449b8

Please sign in to comment.