Verified Commit 400bbf81 authored by David Hoese's avatar David Hoese
Browse files

Add workaround for GDAL/Ceph :80 bug

parent f69779ad
Pipeline #40530 passed with stages
in 1 minute and 59 seconds
......@@ -13,7 +13,8 @@ replace_pg_params() {
# Load environment variable options to overwrite in the config
export LAYER_BASE_DIR=${LAYER_BASE_DIR:-"/data/tiles"}
if [[ -n ${AWS_S3_ENDPOINT} ]] && [[ -n ${AWS_S3_ENDPOINT_PORT} ]]; then
if [[ -n ${AWS_S3_ENDPOINT} ]] && [[ -n ${AWS_S3_ENDPOINT_PORT} ]] && [[ ${AWS_S3_ENDPOINT_PORT} -ne 80 ]]; then
# GDAL (or Ceph?) doesn't like when the endpoint has :80 at the end
export AWS_S3_ENDPOINT="${AWS_S3_ENDPOINT}:${AWS_S3_ENDPOINT_PORT}"
fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment