-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
44 lines (42 loc) · 1.08 KB
/
compose.yml
File metadata and controls
44 lines (42 loc) · 1.08 KB
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
# Use the following command to start up two tobey instances:
# docker compose up
#
# Then hit the tobey instance:
# curl http://localhost:8080/ -X POST -d 'https://example.com'
#
# Now:
# - Access the Minio Console at http://localhost:9001/
services:
tobey:
ports:
- "8080:8080"
build:
context: ../../
environment:
- TOBEY_RESULT_REPORTER_DSN=s3://tobey-bucket/results?endpoint=http://minio:9000&usePathStyle=true®ion=us-east-1&expiration=10m
- AWS_ACCESS_KEY_ID=minioadmin
- AWS_SECRET_ACCESS_KEY=minioadmin
- TOBEY_DEBUG=true
volumes:
- tobey-cache:/cache
depends_on:
- minio
minio:
image: minio/minio
ports:
- "9000:9000"
- "9001:9001"
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
command: server /data --console-address ":9001"
volumes:
- minio-data:/data
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 30s
timeout: 20s
retries: 3
volumes:
tobey-cache:
minio-data: