From 7381102495af8380665e2feffafd8dabce468ea1 Mon Sep 17 00:00:00 2001 From: Brett Date: Wed, 20 Jul 2022 12:47:36 +0200 Subject: [PATCH] update README --- README.md | 7 +++---- TODO.livelog.txt | 2 +- docker-compose.yml | 3 ++- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 1c727d3..56cfd3e 100644 --- a/README.md +++ b/README.md @@ -141,14 +141,13 @@ ckan ## pdb +Add these lines to the Dockerfile.dev + + Debug with pdb (example) - Interact with `docker attach $(docker container ls -qf name=ckan)` command: `python -m pdb /usr/lib/ckan/venv/bin/ckan --config /srv/app/ckan.ini run --host 0.0.0.0 --passthrough-errors` -tty: true - -stdin_open: true - ## Known Issues * Running the tests: Running the tests for CKAN or an extension inside the container will delete your current database. We need to patch CKAN core in our image to work around that. diff --git a/TODO.livelog.txt b/TODO.livelog.txt index b9ca1b7..2f1baa3 100644 --- a/TODO.livelog.txt +++ b/TODO.livelog.txt @@ -25,7 +25,7 @@ NB: Had to update the prerun.py script as it was failing on check_solr_connecti ### ToDo (remaining things to think about and/or 'to fix') ### 1. nginx - what caching should I implement? -2. DataPusher - needed to use a custom requirements.txt (see https://github.com/ckan/datapusher/pull/251) +2. DataPusher - needed to use a custom requirements.txt as the official didn't work (see https://github.com/ckan/datapusher/pull/251) 3. Use Multi-Stage images defined in Dockerfile - get the CKAN images down to bare-bones...for security reasons really Also check out https://github.com/ckan/ckan/pull/4635 for Francesco's test stuff 4. CKAN Worker (maybe) diff --git a/docker-compose.yml b/docker-compose.yml index 4879293..eb17dc6 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -37,7 +37,8 @@ services: redis: condition: service_healthy ports: - - "0.0.0.0:${CKAN_PORT}:5000" + - "0.0.0.0:${CKAN_PORT}:5000" + volumes: - ckan_config:/etc/ckan - ckan_home:/usr/lib/ckan