mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
Update to latest S3Proxy
This commit is contained in:
parent
963c20c60c
commit
82c84fcccb
3 changed files with 3 additions and 33 deletions
|
@ -77,9 +77,9 @@ services:
|
|||
driver: "none"
|
||||
|
||||
files:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./docker/files/Dockerfile
|
||||
image: andrewgaul/s3proxy:sha-5aec5c1
|
||||
environment:
|
||||
- JCLOUDS_FILESYSTEM_BASEDIR=/srv/philomena/priv/s3
|
||||
volumes:
|
||||
- .:/srv/philomena
|
||||
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
FROM andrewgaul/s3proxy:sha-2e61c38
|
||||
COPY docker/files/run-docker-container.sh /opt/s3proxy/run-docker-container.sh
|
|
@ -1,28 +0,0 @@
|
|||
#!/bin/sh
|
||||
# forked because it doesn't let me configure the filesystem basedir via env
|
||||
mkdir -p /srv/philomena/priv/s3
|
||||
|
||||
exec java \
|
||||
-DLOG_LEVEL="${LOG_LEVEL}" \
|
||||
-Ds3proxy.endpoint="${S3PROXY_ENDPOINT}" \
|
||||
-Ds3proxy.virtual-host="${S3PROXY_VIRTUALHOST}" \
|
||||
-Ds3proxy.authorization="${S3PROXY_AUTHORIZATION}" \
|
||||
-Ds3proxy.identity="${S3PROXY_IDENTITY}" \
|
||||
-Ds3proxy.credential="${S3PROXY_CREDENTIAL}" \
|
||||
-Ds3proxy.cors-allow-all="${S3PROXY_CORS_ALLOW_ALL}" \
|
||||
-Ds3proxy.cors-allow-origins="${S3PROXY_CORS_ALLOW_ORIGINS}" \
|
||||
-Ds3proxy.cors-allow-methods="${S3PROXY_CORS_ALLOW_METHODS}" \
|
||||
-Ds3proxy.cors-allow-headers="${S3PROXY_CORS_ALLOW_HEADERS}" \
|
||||
-Ds3proxy.ignore-unknown-headers="${S3PROXY_IGNORE_UNKNOWN_HEADERS}" \
|
||||
-Djclouds.provider="${JCLOUDS_PROVIDER}" \
|
||||
-Djclouds.identity="${JCLOUDS_IDENTITY}" \
|
||||
-Djclouds.credential="${JCLOUDS_CREDENTIAL}" \
|
||||
-Djclouds.endpoint="${JCLOUDS_ENDPOINT}" \
|
||||
-Djclouds.region="${JCLOUDS_REGION}" \
|
||||
-Djclouds.regions="${JCLOUDS_REGIONS}" \
|
||||
-Djclouds.keystone.version="${JCLOUDS_KEYSTONE_VERSION}" \
|
||||
-Djclouds.keystone.scope="${JCLOUDS_KEYSTONE_SCOPE}" \
|
||||
-Djclouds.keystone.project-domain-name="${JCLOUDS_KEYSTONE_PROJECT_DOMAIN_NAME}" \
|
||||
-Djclouds.filesystem.basedir="/srv/philomena/priv/s3" \
|
||||
-jar /opt/s3proxy/s3proxy \
|
||||
--properties /dev/null
|
Loading…
Reference in a new issue