2021-06-01 14:00:59 +02:00
|
|
|
# Configuration via environment variables
|
|
|
|
# Add this file to .gitignore when using secret data
|
2021-06-01 13:26:02 +02:00
|
|
|
|
2021-06-01 14:00:59 +02:00
|
|
|
# Docker Compose environment
|
2021-06-02 11:38:11 +02:00
|
|
|
POSTGRES_PASSWORD = postgres
|
2021-06-01 14:00:59 +02:00
|
|
|
|
|
|
|
# Connection strings
|
2021-06-02 11:38:11 +02:00
|
|
|
POSTGRES_URL = postgres://postgres:postgres@postgres:5432/microservices
|
2021-06-01 13:26:02 +02:00
|
|
|
RABBIT_URL = amqp://guest:guest@rabbitmq:5672
|
2021-06-01 14:00:59 +02:00
|
|
|
SERVER_ADDR = 0.0.0.0:8080
|
2021-06-01 13:26:02 +02:00
|
|
|
|
2021-06-01 14:00:59 +02:00
|
|
|
# RabbitMQ variables
|
2021-06-01 13:26:02 +02:00
|
|
|
EXCHANGE = main_exchange
|
|
|
|
QUEUE_BACK = backend_queue
|
|
|
|
QUEUE_DB = db_queue
|
|
|
|
KEY_FRONT = frontend_key
|
|
|
|
KEY_BACK = backend_key
|
|
|
|
KEY_DB = db_key
|