-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathdocker-compose.common.yaml
46 lines (44 loc) · 1.05 KB
/
docker-compose.common.yaml
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
services:
java-wrapper:
restart: "no"
build:
context: .
platform: linux/amd64
ulimits:
nofile:
soft: 4096
hard: 4096
user: "40001"
environment:
ENV: "e2e"
WRAPPER_BIND_IP: "127.0.0.1"
healthcheck:
test: curl --fail localhost:8080/java-war/health
interval: 1s
timeout: 5s
retries: 30
perlapp:
build:
context: perlapp
dockerfile: e2e.Dockerfile
platform: linux/amd64
healthcheck:
test: curl --fail -d '<methodCall><methodName>healthCheck</methodName><params></params></methodCall>' http://localhost:13360/RPC2
interval: 1s
timeout: 5s
retries: 30
db:
build:
dockerfile: docker/docker-db.Dockerfile
context: .
args:
SQL_SCRIPT_DIR: ./docker/db
platform: linux/amd64
restart: "no"
environment:
MYSQL_ROOT_PASSWORD: "root"
MYSQL_DATABASE: shareddb
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "127.0.0.1", "--silent"]
interval: 1s
retries: 60