kopia lustrzana https://github.com/gaul/s3proxy
support custom s3 proxy endpoint in docker
rodzic
d7281b1b1e
commit
4cc29f9c3c
|
|
@ -22,6 +22,7 @@ COPY \
|
||||||
ENV \
|
ENV \
|
||||||
LOG_LEVEL="info" \
|
LOG_LEVEL="info" \
|
||||||
S3PROXY_AUTHORIZATION="aws-v2-or-v4" \
|
S3PROXY_AUTHORIZATION="aws-v2-or-v4" \
|
||||||
|
S3PROXY_ENDPOINT="http://0.0.0.0:80" \
|
||||||
S3PROXY_IDENTITY="local-identity" \
|
S3PROXY_IDENTITY="local-identity" \
|
||||||
S3PROXY_CREDENTIAL="local-credential" \
|
S3PROXY_CREDENTIAL="local-credential" \
|
||||||
S3PROXY_CORS_ALLOW_ALL="false" \
|
S3PROXY_CORS_ALLOW_ALL="false" \
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
exec java \
|
exec java \
|
||||||
-DLOG_LEVEL="${LOG_LEVEL}" \
|
-DLOG_LEVEL="${LOG_LEVEL}" \
|
||||||
-Ds3proxy.endpoint="http://0.0.0.0:80" \
|
-Ds3proxy.endpoint="${S3PROXY_ENDPOINT}" \
|
||||||
-Ds3proxy.virtual-host="${S3PROXY_VIRTUALHOST}" \
|
-Ds3proxy.virtual-host="${S3PROXY_VIRTUALHOST}" \
|
||||||
-Ds3proxy.authorization="${S3PROXY_AUTHORIZATION}" \
|
-Ds3proxy.authorization="${S3PROXY_AUTHORIZATION}" \
|
||||||
-Ds3proxy.identity="${S3PROXY_IDENTITY}" \
|
-Ds3proxy.identity="${S3PROXY_IDENTITY}" \
|
||||||
|
|
|
||||||
Ładowanie…
Reference in New Issue