mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Fix README
This commit is contained in:
parent
8c6bc72bd2
commit
99262a0d4d
18
README.md
18
README.md
@ -101,16 +101,16 @@ Switch to the namespace `staging` in your kubernetes dashboard.
|
||||
### Prepare migration of Human Connection legacy server
|
||||
Create a configmap with the specific connection data of your legacy server:
|
||||
```sh
|
||||
$ kubectl create configmap db-migration-worker \
|
||||
--namespace=staging \
|
||||
--from-literal=SSH_USERNAME=someuser \
|
||||
--from-literal=SSH_HOST=yourhost \
|
||||
--from-literal=MONGODB_USERNAME=hc-api \
|
||||
--from-literal=MONGODB_PASSWORD=secretpassword \
|
||||
--from-literal=MONGODB_AUTH_DB=hc_api \
|
||||
--from-literal=MONGODB_DATABASE=hc_api \
|
||||
$ kubectl create configmap db-migration-worker \
|
||||
--namespace=staging \
|
||||
--from-literal=SSH_USERNAME=someuser \
|
||||
--from-literal=SSH_HOST=yourhost \
|
||||
--from-literal=MONGODB_USERNAME=hc-api \
|
||||
--from-literal=MONGODB_PASSWORD=secretpassword \
|
||||
--from-literal=MONGODB_AUTH_DB=hc_api \
|
||||
--from-literal=MONGODB_DATABASE=hc_api \
|
||||
--from-literal=UPLOADS_DIRECTORY=/var/www/api/uploads \
|
||||
--from-literal=NEO4J_URI= \
|
||||
--from-literal=NEO4J_URI=bolt://neo4j:7687
|
||||
|
||||
```
|
||||
Create a secret with your public and private ssh keys:
|
||||
|
||||
@ -17,7 +17,8 @@ spec:
|
||||
name: nitro-web
|
||||
spec:
|
||||
containers:
|
||||
- env:
|
||||
- name: web
|
||||
env:
|
||||
- name: COMMIT
|
||||
value: <WEBAPP_COMMIT>
|
||||
- name: HOST
|
||||
@ -39,7 +40,6 @@ spec:
|
||||
key: JWT_SECRET
|
||||
optional: false
|
||||
image: humanconnection/nitro-web:latest
|
||||
name: web
|
||||
ports:
|
||||
- containerPort: 3000
|
||||
resources: {}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user