forked from ckan/ckan-docker
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated docker compose and entry point scripts to run as the ckan user
Set required file/folders permission to be owned by ckan user Updated supervisord to run as ckan user Removed cron jobs to be setup in AKS
- Loading branch information
1 parent
bceea24
commit 93172df
Showing
11 changed files
with
43 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,7 @@ | ||
# Crontab for CKAN cron jobs | ||
# Midnight Rebuild Solr Index | ||
0 0 * * * /usr/bin/ckan -c /srv/app/config/dbca.ini search-index rebuild >> /srv/app/logs/ckan-cron-jobs.log 2>&1 | ||
# Example cron job runs the harvester run command every 15 mins | ||
#*/15 * * * * /usr/bin/ckan -c /srv/app/config/dbca.ini harvester run | ||
# 8am task to schedule embargo datasets to public visibility | ||
0 8 * * * /usr/bin/ckan -c /srv/app/config/dbca.ini dbca scheduled_datasets >> /srv/app/logs/ckan-cron-jobs.log 2>&1 | ||
# 12:30am report generation for archiver broken links | ||
30 0 * * * /usr/bin/ckan -c /srv/app/config/dbca.ini report generate >> /srv/app/logs/ckan-cron-jobs.log 2>&1 | ||
0 8 * * * /usr/bin/ckan -c /srv/app/config/dbca.ini dbca scheduled_datasets | ||
# 8am task to send CKAN email notifications | ||
0 8 * * * /usr/bin/ckan -c /srv/app/config/dbca.ini notify send_emails >> /srv/app/logs/ckan-cron-jobs.log 2>&1 | ||
0 8 * * * /usr/bin/ckan -c /srv/app/config/dbca.ini notify send_emails | ||
# Midnight dbca logs maintenance | ||
0 0 * * * psql $CKAN_SQLALCHEMY_URL -f /srv/app/dbca_logs_maintenance.sql >> /srv/app/logs/ckan-cron-jobs.log 2>&1 | ||
0 0 * * * psql $CKAN_SQLALCHEMY_URL -f /srv/app/dbca_logs_maintenance.sql |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,10 +10,6 @@ pip3 install -r ${SRC_DIR}/ckanext-archiver/requirements.txt | |
pip3 install -e git+https://github.com/ckan/[email protected]#egg=ckanext-dcat | ||
pip3 install -r ${SRC_DIR}/ckanext-dcat/requirements.txt | ||
|
||
# Harvester | ||
pip3 install -e git+https://github.com/ckan/[email protected]#egg=ckanext-harvest | ||
pip3 install -r ${SRC_DIR}/ckanext-harvest/requirements.txt | ||
|
||
# Hierarchy | ||
pip3 install -e git+https://github.com/ckan/[email protected]#egg=ckanext-hierarchy | ||
pip3 install -r ${SRC_DIR}/ckanext-hierarchy/requirements.txt | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters