-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
111 lines (101 loc) · 2.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
version: '3.7'
services:
db:
image: mayankgupta804/sq_db
command: --default-authentication-plugin=mysql_native_password
ports:
- '3307:3306'
environment:
- MYSQL_PASSWORD=easypeasy
- MYSQL_ROOT_PASSWORD=easypeasy
- MYSQL_DATABASE=squadcast
deploy:
replicas: 1
restart_policy:
condition: on-failure
networks:
- webnet
volumes:
- my-db:/var/lib/mysql
adminer:
image: adminer
restart: always
ports:
- 8082:8080
networks:
- webnet
rabbitmq:
image: rabbitmq
ports:
- '1883:1883'
- '5672:5672'
- '15672:15672'
deploy:
replicas: 1
restart_policy:
condition: on-failure
networks:
- webnet
web:
image: mayankgupta804/sq_web
command: ["/wait-for-it.sh", "-t", "30", "db:3307", "--", "./main", "start:webserver"]
ports:
- "8080:8080"
deploy:
replicas: 1
restart_policy:
condition: on-failure
networks:
- webnet
event:
image: mayankgupta804/sq_event
command: ["/wait-for-it.sh", "-t", "30", "rabbitmq:5672", "--", "./main", "start:eventhandler"]
ports:
- "8081:8081"
deploy:
replicas: 1
restart_policy:
condition: on-failure
networks:
- webnet
slack:
image: mayankgupta804/sq_slack
command: ["/wait-for-it.sh", "-t", "30", "rabbitmq:5672", "--", "./main", "start:worker", "slack"]
deploy:
replicas: 1
restart_policy:
condition: on-failure
networks:
- webnet
zendesk:
image: mayankgupta804/sq_zendesk
command: ["/wait-for-it.sh", "-t", "30", "rabbitmq:5672", "--", "./main", "start:worker", "zendesk"]
deploy:
replicas: 1
restart_policy:
condition: on-failure
networks:
- webnet
jira:
image: mayankgupta804/sq_jira
command: ["/wait-for-it.sh", "-t", "30", "rabbitmq:5672", "--", "./main", "start:worker", "jira"]
deploy:
replicas: 1
restart_policy:
condition: on-failure
networks:
- webnet
visualizer:
image: dockersamples/visualizer:latest
ports:
- 8085:8080
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
networks:
- webnet
networks:
webnet:
driver: overlay
attachable: true
volumes:
my-db: