readme improve readability
This commit is contained in:
parent
3efc800f3f
commit
4b7d9f363d
22
readme.md
22
readme.md
@ -22,18 +22,18 @@ podman build -t e2ee-messaging-service .
|
||||
```
|
||||
podman pod create --name=e2ee -p 3333:3333
|
||||
podman run -d --pod=e2ee \
|
||||
-e POSTGRES_PASSWORD="password" \
|
||||
-e POSTGRES_DB="e2ee" \
|
||||
-e POSTGRES_USER="e2ee" \
|
||||
-e POSTGRES_INITDB_ARGS="--encoding=UTF-8 --lc-collate=C --lc-ctype=C" \
|
||||
-v /PATH/TO/DB:/var/lib/postgresql/data:Z \
|
||||
--name=e2ee-db docker.io/library/postgres:16
|
||||
-e POSTGRES_PASSWORD="password" \
|
||||
-e POSTGRES_DB="e2ee" \
|
||||
-e POSTGRES_USER="e2ee" \
|
||||
-e POSTGRES_INITDB_ARGS="--encoding=UTF-8 --lc-collate=C --lc-ctype=C" \
|
||||
-v /PATH/TO/DB:/var/lib/postgresql/data:Z \
|
||||
--name=e2ee-db docker.io/library/postgres:16
|
||||
podman run -d --pod=e2ee \
|
||||
-e POSTGRES_PASSWORD="password" \
|
||||
-e POSTGRES_DB="e2ee" \
|
||||
-e POSTGRES_USER="e2ee" \
|
||||
-e SHARED_SECRET="change-me" \
|
||||
--name=e2ee-app e2ee-messaging-service:latest
|
||||
-e POSTGRES_PASSWORD="password" \
|
||||
-e POSTGRES_DB="e2ee" \
|
||||
-e POSTGRES_USER="e2ee" \
|
||||
-e SHARED_SECRET="change-me" \
|
||||
--name=e2ee-app e2ee-messaging-service:latest
|
||||
```
|
||||
notes:
|
||||
1) You can use docker instead of podman provided the e2ee nodejs app can communicate with the database with a network or changing the POSTGRES_HOST env variable accordingly.
|
||||
|
Loading…
x
Reference in New Issue
Block a user