-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
67 lines (62 loc) · 1.71 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
version: '2.1'
services:
deltacom-app:
build: ./DeltaComApp
environment:
- "DB_URI:deltacom-mysql:3306"
ports:
- "8080:8080"
- "9990:9990"
- "8787:8787"
container_name: DeltaComApp
depends_on:
db:
condition: service_healthy
activemq-service:
condition: service_healthy
links:
- db
- activemq-service
deltacom-advstand:
build: ./AdvertisingStand
ports:
- "80:8080"
- "9991:9990"
- "8788:8787"
container_name: DeltaComAdvStand
links:
- activemq-service
depends_on:
activemq-service:
condition: service_healthy
db:
image: deltacom-mysql
#build: ./DockerEnv/deltacom-mysql
environment:
- "MYSQL_ROOT_PASSWORD:123"
ports:
- "3306:3306"
container_name : "deltacom-mysql"
volumes:
- ./DockerEnv/deltacom-mysql/data:/var/lib/mysql
healthcheck:
test: "/usr/bin/mysql --user=root --password=123 --execute \"SHOW DATABASES;\""
interval: 10s
timeout: 5s
retries: 3
activemq-service:
#build: ./DockerEnv/activemq
image: activemq
container_name: "activemq"
environment:
- TZ=CEST
ports:
- "8161:8161"
- "61616:61616"
expose:
- 8161
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8161"]
interval: 30s
timeout: 10s
retries: 5