1
0
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:
Rob Ede 2024-07-28 21:30:17 +00:00 committed by GitHub
commit 52f5adb15c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: