Update ckan-pycsw Dockerfile and add ckan-pycsw ennvar

PYCSW_CRON_DAYS_INTERVAL
This commit is contained in:
mjanez 2023-04-21 09:30:56 +02:00 committed by GitHub
parent de0644318e
commit e244a77296
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -49,6 +49,7 @@ PYCSW_URL=http://localhost/csw
# SCHEMAS: ckan2pycsw/model/dataset.py - Dataset type
PYCSW_CKAN_SCHEMA=iso19139_geodcatap
PYCSW_OUPUT_SCHEMA=iso19139_inspire
PYCSW_CRON_DAYS_INTERVAL=2
# CKAN databases
POSTGRES_USER=ckan

View File

@ -9,8 +9,9 @@ ENV PYCSW_CONFIG=${APP_DIR}/pycsw.conf
ENV CKAN_URL=http://localhost:5000/
ENV PYCSW_PORT=8000
ENV PYCSW_URL=http://localhost:${PYCSW_PORT}/
ENV DEV_MODE: False
ENV DEV_MODE=False
ENV TIMEOUT=300
ENV PYCSW_CRON_DAYS_INTERVAL=2
WORKDIR ${APP_DIR}
COPY pycsw/conf/pycsw.conf.template pycsw/entrypoint.sh .