mirror of
https://github.com/versity/versitygw.git
synced 2026-01-05 03:24:04 +00:00
The sdk update has caused azurite to fail with: The API version 2025-07-05 is not supported by Azurite The workaround for now according to https://github.com/Azure/Azurite/issues/2562 is to tell azurite to skip this check.
43 lines
1.6 KiB
YAML
43 lines
1.6 KiB
YAML
services:
|
|
posix:
|
|
build:
|
|
context: .
|
|
dockerfile: tests/Dockerfile.dev
|
|
args:
|
|
- IAM_DIR=${IAM_DIR}
|
|
- SETUP_DIR=${SETUP_DIR}
|
|
volumes:
|
|
- ./:/app
|
|
ports:
|
|
- "${POSIX_PORT}:${POSIX_PORT}"
|
|
command: ["sh", "-c", CompileDaemon -build="go build -C ./cmd/versitygw -o versitygw" -command="./cmd/versitygw/versitygw -p :$POSIX_PORT -a $ACCESS_KEY_ID -s $SECRET_ACCESS_KEY --iam-dir $IAM_DIR posix $SETUP_DIR"]
|
|
proxy:
|
|
build:
|
|
context: .
|
|
dockerfile: tests/Dockerfile.dev
|
|
volumes:
|
|
- ./:/app
|
|
ports:
|
|
- "${PROXY_PORT}:${PROXY_PORT}"
|
|
command: ["sh", "-c", CompileDaemon -build="go build -C ./cmd/versitygw -o versitygw" -command="./cmd/versitygw/versitygw -p :$PROXY_PORT s3 -a $ACCESS_KEY_ID -s $SECRET_ACCESS_KEY --endpoint http://posix:$POSIX_PORT"]
|
|
azurite:
|
|
image: mcr.microsoft.com/azure-storage/azurite
|
|
ports:
|
|
- "10000:10000"
|
|
- "10001:10001"
|
|
- "10002:10002"
|
|
restart: always
|
|
hostname: azurite
|
|
command: "azurite --oauth basic --cert /tests/certs/azurite.pem --key /tests/certs/azurite-key.pem --blobHost 0.0.0.0 --skipApiVersionCheck"
|
|
volumes:
|
|
- ./tests/certs:/tests/certs
|
|
azuritegw:
|
|
build:
|
|
context: .
|
|
dockerfile: tests/Dockerfile.dev
|
|
volumes:
|
|
- ./:/app
|
|
ports:
|
|
- 7070:7070
|
|
command: ["sh", "-c", CompileDaemon -build="go build -C ./cmd/versitygw -buildvcs=false -o versitygw" -command="./cmd/versitygw/versitygw -a $ACCESS_KEY_ID -s $SECRET_ACCESS_KEY --iam-dir $IAM_DIR azure -a $AZ_ACCOUNT_NAME -k $AZ_ACCOUNT_KEY --url https://azurite:10000/$AZ_ACCOUNT_NAME"]
|