mirror of
https://github.com/ebosas/microservices.git
synced 2024-11-24 08:02:24 +02:00
22 lines
573 B
Bash
22 lines
573 B
Bash
# Configuration via environment variables
|
|
# Add this file to .gitignore when using secret data
|
|
|
|
# Docker Compose environment
|
|
POSTGRES_PASSWORD = demopsw
|
|
|
|
# Connection strings
|
|
POSTGRES_URL = postgres://postgres:demopsw@postgres:5432/microservices
|
|
RABBIT_URL = amqp://guest:guest@rabbitmq:5672
|
|
REDIS_URL = redis:6379
|
|
SERVER_ADDR = 0.0.0.0:8080
|
|
|
|
# RabbitMQ variables
|
|
EXCHANGE = main_exchange
|
|
QUEUE_BACK = backend_queue
|
|
QUEUE_DB = db_queue
|
|
QUEUE_CACHE = cache_queue
|
|
KEY_FRONT = frontend_key
|
|
KEY_BACK = backend_key
|
|
KEY_DB = db_key
|
|
KEY_CACHE = cache_key
|