-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
48 lines (40 loc) · 1009 Bytes
/
docker-compose.yaml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
version: "3"
services:
rabbitmq:
image: rabbitmq:3.11.6-alpine
environment:
- RABBITMQ_DEFAULT_USER=user
- RABBITMQ_DEFAULT_PASS=password
ports:
- 5672:5672
zookeeper:
image: zookeeper
ports:
- 2181:2181
# worker-1:
# image: distributed-systems
# environment:
# - RABBITMQ_URL=amqp://user:password@rabbitmq:5672
# - ZOOKEEPER_URL=zookeeper:2181
# - PYTHONUNBUFFERED=1
# depends_on:
# - zookeeper
# - rabbitmq
# worker-2:
# image: distributed-systems
# environment:
# - RABBITMQ_URL=amqp://user:password@rabbitmq:5672
# - ZOOKEEPER_URL=zookeeper:2181
# - PYTHONUNBUFFERED=1
# depends_on:
# - zookeeper
# - rabbitmq
# worker-3:
# image: distributed-systems
# environment:
# - RABBITMQ_URL=amqp://user:password@rabbitmq:5672
# - ZOOKEEPER_URL=zookeeper:2181
# - PYTHONUNBUFFERED=1
# depends_on:
# - zookeeper
# - rabbitmq