-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
70 lines (63 loc) · 1.71 KB
/
docker-compose.yml
File metadata and controls
70 lines (63 loc) · 1.71 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
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
# docker-compose.yml
name: aws-sdk-http-async
services:
dynamodb-local:
image: "amazon/dynamodb-local:latest"
container_name: dynamodb-local-8011
entrypoint:
- "bash"
- "-c"
- |
set -euo pipefail
port="$${DYNAMODB_PORT:-8011}"
exec java -jar DynamoDBLocal.jar -sharedDb -disableTelemetry -inMemory -port "$${port}"
environment:
- AWS_ACCESS_KEY_ID=dummy
- AWS_SECRET_ACCESS_KEY=dummy
- AWS_DEFAULT_REGION=eu-central-1
ports:
- "8011:8011"
working_dir: /home/dynamodblocal
ulimits:
nofile:
soft: "65536"
hard: "65536"
healthcheck:
test: ["CMD", "aws", "dynamodb", "list-tables", "--endpoint-url", "http://localhost:8011"]
interval: 10s
timeout: 5s
retries: 5
start_period: 10s
minio:
image: minio/minio:latest
container_name: minio-local-9010
restart: always
ports:
- "9010:9010"
- "9011:9011"
entrypoint: minio server /data --address ":9010" --console-address ":9011"
healthcheck:
test: ["CMD", "curl", "-sf", "curl -sf http://localhost:9010/minio/health/live"]
interval: 10s
timeout: 5s
retries: 5
start_period: 10s
tinyproxy:
image: kalaksi/tinyproxy:latest
container_name: tinyproxy-8888
restart: always
ports:
- "8888:8888"
volumes:
- ./spec/support/tinyproxy.conf:/etc/tinyproxy/tinyproxy.conf:ro
extra_hosts:
- "host.docker.internal:host-gateway"
toxiproxy:
image: ghcr.io/shopify/toxiproxy:latest
container_name: toxiproxy-8080
restart: always
ports:
- "8474:8474"
- "8080:8080"
extra_hosts:
- "host.docker.internal:host-gateway"