Skip to content
Snippets Groups Projects
Verified Commit 400bbf81 authored by David Hoese's avatar David Hoese
Browse files

Add workaround for GDAL/Ceph :80 bug

parent f69779ad
No related branches found
No related tags found
No related merge requests found
Pipeline #40530 passed with stages
in 1 minute and 59 seconds
...@@ -13,7 +13,8 @@ replace_pg_params() { ...@@ -13,7 +13,8 @@ replace_pg_params() {
# Load environment variable options to overwrite in the config # Load environment variable options to overwrite in the config
export LAYER_BASE_DIR=${LAYER_BASE_DIR:-"/data/tiles"} 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}" export AWS_S3_ENDPOINT="${AWS_S3_ENDPOINT}:${AWS_S3_ENDPOINT_PORT}"
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment