diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index aa97df6d..b1a56a49 100755 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -2,6 +2,9 @@ volumes: ckan_storage: pg_data: solr_data: + pip_cache: + site_packages: + vscode_server: services: @@ -22,12 +25,13 @@ services: volumes: - ckan_storage:/var/lib/ckan - ./src:/srv/app/src_extensions - - /usr/lib/python3.10/site-packages - - /root/.vscode-server + - pip_cache:/root/.cache/pip + - site_packages:/usr/lib/python3.10/site-packages + - vscode_server:/root/.vscode-server restart: unless-stopped healthcheck: test: ["CMD", "wget", "-qO", "/dev/null", "http://localhost:5000"] - + datapusher: image: ckan/ckan-base-datapusher:${DATAPUSHER_VERSION} restart: unless-stopped diff --git a/docker-compose.yml b/docker-compose.yml index 97ab43f4..e7c61970 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,6 +2,8 @@ volumes: ckan_storage: pg_data: solr_data: + pip_cache: + site_packages: services: @@ -40,7 +42,8 @@ services: condition: service_healthy volumes: - ckan_storage:/var/lib/ckan - - /usr/lib/python3.10/site-packages + - pip_cache:/root/.cache/pip + - site_packages:/usr/lib/python3.10/site-packages restart: unless-stopped healthcheck: test: ["CMD", "wget", "-qO", "/dev/null", "http://localhost:5000"]