|
|
|
In order for the services to run the .env files for each service must be configured.
|
|
|
|
|
|
|
|
The below describes the RabbitMQ environment variables
|
|
|
|
```
|
|
|
|
BROKER_URL=
|
|
|
|
```
|
|
|
|
|
|
|
|
The below is used for any service which requires a database.
|
|
|
|
```
|
|
|
|
POSTGRES_USER=<service_name>
|
|
|
|
POSTGRES_PASSWORD=password
|
|
|
|
POSTGRES_DB=<service_name>_db
|
|
|
|
POSTGRES_HOST=<service_name>_db
|
|
|
|
# Default Postgres port
|
|
|
|
POSTGRES_PORT=5432
|
|
|
|
```
|
|
|
|
|
|
|
|
For the API Gateways the host and port must be set
|
|
|
|
```
|
|
|
|
HOST=<host_url>
|
|
|
|
PORT=8080
|
|
|
|
``` |
|
|
|
\ No newline at end of file |