diff --git a/.github/workflows/deploy.test.yml b/.github/workflows/deploy.test.yml index 07d96610..b9d3eb02 100644 --- a/.github/workflows/deploy.test.yml +++ b/.github/workflows/deploy.test.yml @@ -51,9 +51,6 @@ jobs: # dump all env var env > deployed/.env - # create config map - kubernetes/scripts/env_to_configmap.sh < deployed/.env | tee deployed/appflowy-configmap.yaml | kubectl apply -f - - # deploy appflowy cloud envsubst < kubernetes/templates/appflowy-cloud-deployment.yaml | tee deployed/appflowy-cloud-deployment.yaml | kubectl apply -f - envsubst < kubernetes/templates/appflowy-cloud-service.yaml | tee deployed/appflowy-cloud-service.yaml | kubectl apply -f - diff --git a/doc/DEPLOYMENT.md b/doc/DEPLOYMENT.md index 0c8050c3..b570224b 100644 --- a/doc/DEPLOYMENT.md +++ b/doc/DEPLOYMENT.md @@ -167,5 +167,7 @@ with your own in `nginx/ssl/` directory ## 5. FAQ - How do I use a different `postgres`? -> To do so, you need set `APPFLOWY_DATABASE_URL` to another postgres url. You also need to set `DATABASE_URL` to use the same postgres database. +1. You need set `APPFLOWY_DATABASE_URL` to another postgres url. +You also need to set `DATABASE_URL` to use the same postgres database. The default url is using the postgres in docker compose, in service `appflowy_cloud` and `gotrue` respectively. +2. You would need to run the initialization sql file from `migrations/before` in your hosted postgres.