mirror of
https://github.com/versity/versitygw.git
synced 2026-01-07 04:06:23 +00:00
21 lines
766 B
YAML
21 lines
766 B
YAML
version: "3"
|
|
services:
|
|
posix:
|
|
build:
|
|
context: .
|
|
dockerfile: ./Dockerfile.dev
|
|
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 /tmp/vgw posix /tmp/vgw"]
|
|
proxy:
|
|
build:
|
|
context: .
|
|
dockerfile: ./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 -a $ACCESS_KEY_ID -s $SECRET_ACCESS_KEY -p :$PROXY_PORT s3 --endpoint http://posix:$POSIX_PORT"]
|