-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
129 lines (119 loc) · 2.76 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
version: "3.1"
services:
# Wordpress CMS
wordpress:
container_name: wordpress
depends_on:
- db
image: wordpress:latest
restart: always
ports:
- 8080:80
environment:
WORDPRESS_DB_HOST: db:3306
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: wordpress
WORDPRESS_DB_NAME: wordpress
volumes:
- ./wordpress:/var/www/html
networks:
- wp_network
healthcheck:
test: curl --fail -s -I http://localhost:80/ || exit 1
interval: 5s
timeout: 5s
retries: 3
# MySQL Database
db:
container_name: mysql
image: mysql:5.7
command: --innodb-use-native-aio=0
restart: always
environment:
MYSQL_DATABASE: wordpress
MYSQL_USER: wordpress
MYSQL_PASSWORD: wordpress
MYSQL_ROOT_PASSWORD: root
volumes:
- ./db:/var/lib/mysql
networks:
- wp_network
# PHP MyAdmin
phpmyadmin:
container_name: phpmyadmin
depends_on:
- db
image: phpmyadmin/phpmyadmin:latest
restart: always
ports:
- 8888:80
environment:
PMA_HOST: db
MYSQL_ROOT_PASSWORD: root
networks:
- wp_network
# JAVA COVID-EVOLUTION-DIFF
java-covid-evolution-diff:
container_name: java-covid-evolution-diff
image: covid-evolution-diff:0.0.1
ports:
- 3000:3000
networks:
- wp_network
# JAVA COVID_QUERY
java-covid-query:
container_name: java-covid-query
image: covid-query:0.0.1
ports:
- 3003:3003
networks:
- wp_network
# JAVA COVID-SCI-DISCOVERIES
java-covid-sci-discoveries:
container_name: java-covid-sci-discoveries
image: covid-sci-discoveries:0.0.1
environment:
- JVM_OPTS=-Xmx12g -Xms12g -XX:MaxPermSize=200m
volumes:
- ./wordpress/wp-content/uploads/simple-file-list:/simple-file-list
ports:
- 3002:3002
networks:
- wp_network
# JAVA COVID-GRAPH-SPREAD
java-covid-graph-spread:
container_name: java-covid-graph-spread
image: covid-graph-spread:0.0.1
ports:
- 3001:3001
networks:
- wp_network
# System-tests
system-tests:
container_name: system-tests
image: vandabarataiscte/test-docker:1.0
volumes:
- ./system-tests/allure-results:/workspace/allure-results
networks:
- wp_network
# Allure Report Service for system-tests reports
allure:
container_name: allure_system_tests
image: frankescobar/allure-docker-service:latest
environment:
CHECK_RESULTS_EVERY_SECONDS: 1
KEEP_HISTORY: "TRUE"
KEEP_HISTORY_LATEST: 25
ports:
- 5050:5050
volumes:
- ./system-tests/allure-results:/app/allure-results
networks:
- wp_network
networks:
wp_network:
volumes:
wordpress:
db:
system-tests:
allure: