-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
31 lines (26 loc) · 753 Bytes
/
Copy path.env.example
File metadata and controls
31 lines (26 loc) · 753 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Runtime endpoints
DATABASE_URL=postgres://postgres:postgres@postgres:5432/task_service?sslmode=disable
RABBITMQ_URL=amqp://guest:guest@rabbitmq:5672/
TASK_SERVICE_ADDR=task_service:50051
# Service ports
API_GATEWAY_PORT=8080
GRPC_PORT=50051
TASK_SERVICE_PORT=50051
WEBSOCKET_PORT=8082
# Queue names
PROCESS_QUEUE=task.process
WEBSOCKET_QUEUE=task.websocket
WEBSOCKET_EXCHANGE=task.processed
# Docker published ports
API_GATEWAY_HOST_PORT=8080
TASK_SERVICE_HOST_PORT=50051
WEBSOCKET_HOST_PORT=8082
POSTGRES_HOST_PORT=5432
RABBITMQ_HOST_AMQP_PORT=5672
RABBITMQ_HOST_UI_PORT=15672
# Database defaults used by postgres container
POSTGRES_DB=task_service
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
# Background workers
POLL_INTERVAL_SECONDS=5s