-
Notifications
You must be signed in to change notification settings - Fork 67
/
Copy pathdocker-compose.yaml
55 lines (51 loc) · 1.28 KB
/
docker-compose.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
47
48
49
50
51
52
53
54
version: "3.1"
services:
db:
image: mariadb:10.6
restart: always
environment:
- MARIADB_ROOT_PASSWORD=zaphod
- MARIADB_DATABASE=test
- MARIADB_USER=test
- MARIADB_PASSWORD=zaphod
ports:
- "3306:3306"
healthcheck:
test: mariadb --user=$$MARIADB_USER --password=$$MARIADB_PASSWORD --silent --execute "SHOW DATABASES;"
interval: 3s
timeout: 2s
retries: 5
trillian-log-server:
image: gcr.io/trillian-opensource-ci/log_server
command: [
"--storage_system=mysql",
"--mysql_uri=test:zaphod@tcp(db:3306)/test",
"--rpc_endpoint=0.0.0.0:50054",
"--http_endpoint=0.0.0.0:50055",
"--alsologtostderr",
]
restart: always
ports:
- "50054:50054"
- "50055:50055"
depends_on:
- db
trillian-log-signer:
image: gcr.io/trillian-opensource-ci/log_signer
command: [
"--storage_system=mysql",
"--mysql_uri=test:zaphod@tcp(db:3306)/test",
"--sequencer_interval=1s",
"--batch_size=500",
"--num_sequencers=1",
"--force_master",
"--rpc_endpoint=0.0.0.0:8090",
"--http_endpoint=0.0.0.0:8091",
"--alsologtostderr",
]
restart: always
ports:
- "8092:8091"
depends_on:
- db
- trillian-log-server