Skip to content

Commit c43403e

Browse files
committed
add s3gw config
1 parent 97d75b7 commit c43403e

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

compose/s3-gw.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
services:
2+
cryostat:
3+
depends_on:
4+
s3:
5+
condition: service_healthy
6+
environment:
7+
QUARKUS_S3_ENDPOINT_OVERRIDE: http://s3:7480
8+
STORAGE_EXT_URL: /storage/
9+
QUARKUS_S3_PATH_STYLE_ACCESS: "true" # needed since compose setup does not support DNS subdomain resolution
10+
QUARKUS_S3_AWS_REGION: us-east-1
11+
AWS_ACCESS_KEY_ID: test
12+
AWS_SECRET_ACCESS_KEY: test
13+
s3:
14+
image: ${S3GW_IMAGE:-quay.io/s3gw/s3gw:latest}
15+
hostname: s3
16+
expose:
17+
- "7480"
18+
volumes:
19+
- s3gw_data:/data
20+
ulimits:
21+
nofile:
22+
soft: 4096
23+
hard: 4096
24+
restart: always
25+
healthcheck:
26+
test: curl --fail http://localhost:7480 || exit 1
27+
interval: 10s
28+
retries: 3
29+
start_period: 30s
30+
timeout: 5s
31+
32+
volumes:
33+
s3gw_data:
34+
driver: local

0 commit comments

Comments
 (0)