-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yaml
59 lines (53 loc) · 1.09 KB
/
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
47
48
49
50
51
52
53
54
55
56
57
58
59
services:
rabbitmq:
image: rabbitmq:3-management-alpine
container_name: rabbitmq
ports:
- 15672:15672
- 5672:5672
volumes:
- ~/.docker-conf/rabbitmq/data/:/var/lib/rabbitmq/
- ~/.docker-conf/rabbitmq/log/:/var/log/rabbitmq
networks:
- datahive_net
logging:
driver: none
worker_1:
build:
context: ./worker
dockerfile: Dockerfile
volumes:
- ./worker:/app
restart: always
networks:
- datahive_net
meteorct:
build:
context: ./frontend2
dockerfile: Dockerfile
restart: always
links:
- mongo
ports:
- 3000:3000
networks:
- datahive_net
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./frontend2/app:/app
environment:
- MONGO_URL=mongodb://mongo/meteor
mongo:
image: mongo:latest
ports:
- "27017:27017"
volumes:
- ./frontend2/app/.meteor/local/db:/data/db
networks:
- datahive_net
logging:
driver: none
networks:
datahive_net:
driver: bridge
# volume mapping