Skip to content

Commit

Permalink
add seaweedfs s3 impl option
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Nov 20, 2023
1 parent f8053c4 commit 2f39dc9
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
2 changes: 1 addition & 1 deletion smoketest.bash
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ display_usage() {
echo "Usage:"
echo -e "\t-h\t\t\t\tprint this Help text."
echo -e "\t-O\t\t\t\tOffline mode, do not attempt to pull container images."
echo -e "\t-s [minio|cloudserver|localstack]\t\tS3 implementation to spin up (default \"minio\")."
echo -e "\t-s [minio|seaweed|cloudserver|localstack]\t\tS3 implementation to spin up (default \"minio\")."
echo -e "\t-g\t\t\t\tinclude Grafana dashboard and jfr-datasource in deployment."
echo -e "\t-t\t\t\t\tinclude sample applications for Testing."
echo -e "\t-V\t\t\t\tdo not discard data storage Volumes on exit."
Expand Down
33 changes: 33 additions & 0 deletions smoketest/compose/s3-seaweed.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
version: "3"
services:
cryostat:
environment:
STORAGE_BUCKETS_ARCHIVES_NAME: archivedrecordings
QUARKUS_S3_ENDPOINT_OVERRIDE: http://s3:8333
QUARKUS_S3_PATH_STYLE_ACCESS: "true" # needed since compose setup does not support DNS subdomain resolution
QUARKUS_S3_AWS_REGION: us-east-1
QUARKUS_S3_AWS_CREDENTIALS_TYPE: static
QUARKUS_S3_AWS_CREDENTIALS_STATIC_PROVIDER_ACCESS_KEY_ID: unused
QUARKUS_S3_AWS_CREDENTIALS_STATIC_PROVIDER_SECRET_ACCESS_KEY: unused
AWS_ACCESS_KEY_ID: unused
AWS_SECRET_ACCESS_KEY: unused
s3:
image: docker.io/chrislusf/seaweedfs:latest
command: server -s3
hostname: s3
expose:
- "8333"
labels:
kompose.service.expose: "seaweed"
restart: always
healthcheck:
test:
- CMD-SHELL
- wget
- --tries=1
- --spider
- http://s3:8333/
interval: 10s
retries: 3
start_period: 30s
timeout: 5s

0 comments on commit 2f39dc9

Please sign in to comment.