Rename NEXT_PUBLIC_... env variables to allow reading from env at runtime
This commit is contained in:
parent
834a38046f
commit
376220b26e
10 changed files with 22 additions and 22 deletions
|
@ -20,8 +20,8 @@ docker compose down --rmi all
|
|||
|
||||
```
|
||||
args:
|
||||
- NEXT_PUBLIC_API_URL=http://127.0.0.1:3001/api
|
||||
- NEXT_PUBLIC_WS_URL=ws://127.0.0.1:3001
|
||||
- BACKEND_API_URL=http://127.0.0.1:3001/api
|
||||
- BACKEND_WS_URL=ws://127.0.0.1:3001
|
||||
```
|
||||
|
||||
6. Save and close the `docker-compose.yaml` file
|
||||
|
@ -58,8 +58,8 @@ nano docker-compose.yaml
|
|||
|
||||
```
|
||||
args:
|
||||
- NEXT_PUBLIC_API_URL=http://127.0.0.1:3001/api
|
||||
- NEXT_PUBLIC_WS_URL=ws://127.0.0.1:3001
|
||||
- BACKEND_API_URL=http://127.0.0.1:3001/api
|
||||
- BACKEND_WS_URL=ws://127.0.0.1:3001
|
||||
```
|
||||
|
||||
6. Save and exit the editor
|
||||
|
@ -96,8 +96,8 @@ nano docker-compose.yaml
|
|||
|
||||
```
|
||||
args:
|
||||
- NEXT_PUBLIC_API_URL=http://127.0.0.1:3001/api
|
||||
- NEXT_PUBLIC_WS_URL=ws://127.0.0.1:3001
|
||||
- BACKEND_API_URL=http://127.0.0.1:3001/api
|
||||
- BACKEND_WS_URL=ws://127.0.0.1:3001
|
||||
```
|
||||
|
||||
6. Save and exit the editor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue