mirror of
https://github.com/actix/examples
synced 2024-11-27 16:02:57 +01:00
Merge pull request #870 from FullStackAlex/master
fix env vars in postgres readme
This commit is contained in:
commit
52f5adb15c
@ -60,12 +60,12 @@ On many Linux distributions you may prefix the shell commands with `sudo -u post
|
|||||||
|
|
||||||
```ini
|
```ini
|
||||||
SERVER_ADDR=127.0.0.1:8080
|
SERVER_ADDR=127.0.0.1:8080
|
||||||
PG.USER=test_user
|
PG__USER=test_user
|
||||||
PG.PASSWORD=testing
|
PG__PASSWORD=testing
|
||||||
PG.HOST=127.0.0.1
|
PG__HOST=127.0.0.1
|
||||||
PG.PORT=5432
|
PG__PORT=5432
|
||||||
PG.DBNAME=testing_db
|
PG__DBNAME=testing_db
|
||||||
PG.POOL.MAX_SIZE=16
|
PG__POOL_MAX_SIZE=16
|
||||||
```
|
```
|
||||||
|
|
||||||
6. Run the server:
|
6. Run the server:
|
||||||
|
Loading…
Reference in New Issue
Block a user