diff --git a/.env.example b/.env.example index 79052f5..62860b1 100644 --- a/.env.example +++ b/.env.example @@ -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 diff --git a/ckan-pycsw/Dockerfile b/ckan-pycsw/Dockerfile index 6460b56..e6fe7f3 100644 --- a/ckan-pycsw/Dockerfile +++ b/ckan-pycsw/Dockerfile @@ -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 .