-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
39 lines (37 loc) · 986 Bytes
/
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
version: '3.8'
services:
benchmarking:
image: ls1tum/artemis-benchmarking:latest
env_file:
- config/benchmarking.env
ports:
- '127.0.0.1:8080:8080'
expose:
- '8080'
healthcheck:
test: wget -nv -t1 --spider http://localhost:8080/actuator/health || exit 1
start_period: 600s
interval: 1s
depends_on:
mysql:
condition: service_healthy
restart: always
mysql:
image: mysql:8.4.0
volumes:
- artemis-mysql-data:/var/lib/mysql
env_file:
- config/mysql.env
expose:
- '3306'
command: mysqld --lower_case_table_names=1 --tls-version='' --character_set_server=utf8mb4 --collation-server=utf8mb4_unicode_ci --explicit_defaults_for_timestamp
healthcheck:
test: mysqladmin ping -h 127.0.0.1 -u root --silent
interval: 5s
timeout: 3s
retries: 30
start_period: 300s
restart: always
volumes:
artemis-mysql-data:
name: artemis-mysql-data