recursive true
end
+directory "/srv/imagery/sockets" do
+ owner "root"
+ group "root"
+ mode "777"
+ recursive true
+end
+
# Pre-download uk_os_OSTN15_NTv2_OSGBtoETRS.tif used for EPSG:27700 conversions
execute "uk_os_OSTN15_NTv2_OSGBtoETRS.tif" do
command "projsync --file uk_os_OSTN15_NTv2_OSGBtoETRS.tif --system-directory"
podman_service "titiler" do
description "Container service for titiler"
image container_image
- ports 8080 => 8080
- volume "/store/imagery" => "/store/imagery"
- environment :PORT => 8080,
+ volume "/store/imagery" => "/store/imagery",
+ "/srv/imagery/sockets" => "/sockets"
+ environment :BIND => "unix:/sockets/titiler.sock",
:WORKERS_PER_CORE => 1,
:GDAL_CACHEMAX => 200,
:GDAL_DISABLE_READDIR_ON_OPEN => "EMPTY_DIR",