Skip to content

Commit

Permalink
docs: remove SECRET_KEY_BASE in docs & examples
Browse files Browse the repository at this point in the history
  • Loading branch information
soedirgo committed Jan 20, 2021
1 parent 8f88087 commit 0e14243
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ENV MIX_ENV=prod \
MIX_ENV=prod \
PORT=4000 \
HOSTNAME=localhost \
SECRET_KEY_BASE=SOMETHING_SUPER_SECRET
JWT_SECRET=SOMETHING_SUPER_SECRET

RUN apt-get update

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ docker run \
-e DB_PORT=5432 \
-e PORT=4000 \
-e HOSTNAME='localhost' \
-e SECRET_KEY_BASE='SOMETHING_SUPER_SECRET' \
-e JWT_SECRET='SOMETHING_SUPER_SECRET' \
-p 4000:4000 \
supabase/realtime
```
Expand Down
2 changes: 1 addition & 1 deletion ansible/files/realtime.env
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ DB_HOST=
DB_PORT=5432
DB_NAME=postgres
DB_PASSWORD=
SECRET_KEY_BASE=
JWT_SECRET=
2 changes: 1 addition & 1 deletion docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ services:
DB_PORT: 5432
PORT: 4000
HOSTNAME: localhost
SECRET_KEY_BASE: SOMETHING_SUPER_SECRET
JWT_SECRET: SOMETHING_SUPER_SECRET
depends_on:
- db
db:
Expand Down
2 changes: 1 addition & 1 deletion examples/next-js/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ services:
DB_PORT: 5432
PORT: 4000
HOSTNAME: localhost
SECRET_KEY_BASE: SOMETHING_SUPER_SECRET
JWT_SECRET: SOMETHING_SUPER_SECRET
db:
image: supabase/postgres
ports:
Expand Down
2 changes: 1 addition & 1 deletion examples/node-js/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ services:
DB_PORT: 5432
PORT: 4000
HOSTNAME: localhost
SECRET_KEY_BASE: SOMETHING_SUPER_SECRET
JWT_SECRET: SOMETHING_SUPER_SECRET
db:
image: supabase/postgres
ports:
Expand Down
4 changes: 1 addition & 3 deletions server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
## Run locally

```sh
SECRET_KEY_BASE=SOMETHING_SECRET \
PORT=4000 \
HOSTNAME=localhost \
DB_USER=postgres \
Expand All @@ -30,15 +29,14 @@ DB_PASSWORD=postgres
DB_PORT=5432
APP_PORT=4000
APP_HOSTNAME=localhost
SECRET_KEY_BASE=SOMETHING_SECRET

MIX_ENV=prod mix release
```

Start the release:

```sh
SECRET_KEY_BASE=SOMETHING_SECRET \
JWT_SECRET=SOMETHING_SECRET \
PORT=4000 \
HOSTNAME=localhost \
DB_USER=postgres \
Expand Down

0 comments on commit 0e14243

Please sign in to comment.