Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cspp_geo
geosphere
geosphere-mapserver
Commits
400bbf81
Verified
Commit
400bbf81
authored
Nov 22, 2022
by
David Hoese
Browse files
Add workaround for GDAL/Ceph :80 bug
parent
f69779ad
Pipeline
#40530
passed with stages
in 1 minute and 59 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
mapserver/run.sh
View file @
400bbf81
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment