forked from Roudoudoux/frontage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
73 lines (72 loc) · 1.4 KB
/
docker-compose.yml
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
version: '2'
services:
redis:
image: "redis"
volumes:
- ./redis/redis.conf:/usr/local/etc/redis/redis.conf
restart: unless-stopped
rabbit:
image: "rabbitmq:3-management"
restart: unless-stopped
hostname: "rabbit"
env_file: .env-dev
ports:
- 5672:5672
- 15672:15672
app:
build: .
restart: unless-stopped
volumes:
- ./arbalet/frontage:/usr/src/app
command: ["dev"]
env_file: .env-dev
links:
- redis:redis
- rabbit:rabbit
- postgres:postgres
ports:
- 33405:33405
scheduler:
build: .
restart: unless-stopped
volumes:
- ./arbalet/frontage:/usr/src/app
env_file: .env-dev
links:
- redis:redis
- rabbit:rabbit
- postgres:postgres
ports:
- 33460:33460
- 6454:6454/udp
command: ["scheduler"]
queue:
build: .
restart: unless-stopped
volumes:
- ./arbalet/frontage:/usr/src/app
env_file: .env-dev
links:
- rabbit:rabbit
- redis:redis
- postgres:postgres
ports:
- 33406:33406
- 33450:33450
command: ["queue"]
postgres:
image: postgres
restart: unless-stopped
env_file: .env-dev
ports:
- 5544:5432
volumes:
- db-data:/var/lib/postgresql/data
snap:
build: snap
env_file: .env-dev
restart: unless-stopped
ports:
- 8080:80
volumes:
db-data: