-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(smoketest): add additional s3 impl options (#157)
- Loading branch information
1 parent
f725229
commit 4f4f12e
Showing
5 changed files
with
95 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
version: "3" | ||
services: | ||
cryostat: | ||
environment: | ||
STORAGE_BUCKETS_ARCHIVES_NAME: archivedrecordings | ||
QUARKUS_S3_ENDPOINT_OVERRIDE: http://s3:8000 | ||
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: accessKey1 | ||
QUARKUS_S3_AWS_CREDENTIALS_STATIC_PROVIDER_SECRET_ACCESS_KEY: verySecretKey1 | ||
AWS_ACCESS_KEY_ID: accessKey1 | ||
AWS_SECRET_ACCESS_KEY: verySecretKey1 | ||
s3: | ||
image: docker.io/zenko/cloudserver:latest | ||
hostname: s3 | ||
expose: | ||
- "8000" | ||
environment: | ||
S3BACKEND: mem | ||
ENDPOINT: s3 | ||
LOG_LEVEL: debug | ||
REMOTE_MANAGEMENT_DISABLE: 1 | ||
SCALITY_ACCESS_KEY_ID: accessKey1 | ||
SCALITY_SECRET_ACCESS_KEY: verySecretKey1 | ||
labels: | ||
kompose.service.expose: "cloudserver" | ||
restart: always | ||
# healthcheck: | ||
# test: | ||
# - CMD-SHELL | ||
# - curl | ||
# - --fail | ||
# - http://localhost:8000/ | ||
# interval: 10s | ||
# retries: 3 | ||
# start_period: 10s | ||
# timeout: 5s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |