Provide MIME types for CKAN to recognize XLSX and ODS

This commit is contained in:
Disassembler 2018-03-26 23:50:50 +02:00
parent 41ae6eedb3
commit 5e06bad941
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ RUN \
# Add edge/testing repository # Add edge/testing repository
echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/testing' >>/etc/apk/repositories \ echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/testing' >>/etc/apk/repositories \
# Install runtime dependencies # Install runtime dependencies
&& apk --no-cache add geos@edge libjpeg-turbo libmagic libpq py2-pip zlib && apk --no-cache add geos@edge libjpeg-turbo libmagic libpq mailcap py2-pip zlib
RUN \ RUN \
# Install build dependencies # Install build dependencies

View File

@ -176,7 +176,7 @@ ckan.max_image_size = 10
# Make sure you have set up the DataStore # Make sure you have set up the DataStore
ckan.datapusher.formats = csv xls xlsx tsv application/csv application/vnd.ms-excel application/vnd.openxmlformats-officedocument.spreadsheetml.sheet #ckan.datapusher.formats = csv xls xlsx tsv application/csv application/vnd.ms-excel application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
ckan.datapusher.url = http://ckandp:8080/ ckan.datapusher.url = http://ckandp:8080/
#ckan.datapusher.assume_task_stale_after = 3600 #ckan.datapusher.assume_task_stale_after = 3600