mirror of
https://git.rwth-aachen.de/acs/public/villas/web-backend-go/
synced 2025-03-30 00:00:12 +01:00
document all environment variables
This commit is contained in:
parent
5eaa133bcd
commit
cb00ecadb1
1 changed files with 19 additions and 0 deletions
19
README.md
19
README.md
|
@ -41,6 +41,25 @@ go run start.go --help
|
|||
```
|
||||
to get a list of available parameters and default values
|
||||
|
||||
## Environment variables
|
||||
|
||||
| Variable | Description |
|
||||
|:-- |:-- |
|
||||
| `DB_HOST` | PostgreSQL hostname |
|
||||
| `DB_NAME` | PostgreSQL database |
|
||||
| `DB_USER` | PostgreSQL username |
|
||||
| `DB_PASS` | PostgreSQL password |
|
||||
| `DB_SSLMODE` | PostgreSQL SSL enabled |
|
||||
| `AMQP_HOST` | AMQP hostname |
|
||||
| `AMQP_USER` | AMQP username |
|
||||
| `AMQP_PASS` | AMQP password |
|
||||
| `BASE_HOST` | Hostname of VILLASweb |
|
||||
| `BASE_PATH` | Base URL of VILLASweb |
|
||||
| `MODE` | Mode: debug/release/test |
|
||||
| `PORT` | Port on which the internal HTTP server listens |
|
||||
| `ADMIN_USER` | Username for initial admin user |
|
||||
| `ADMIN_PASS` | Password for initial admin user |
|
||||
| `ADMIN_MAIL` | Mail for initial admin user |
|
||||
|
||||
## PostgreSQL Database
|
||||
Before running the application the user has to setup and configure
|
||||
|
|
Loading…
Add table
Reference in a new issue