Skip to content

Commit

Permalink
Merge pull request #143 from ckan/install-volumes-2
Browse files Browse the repository at this point in the history
volume for pip cache, keep volumes
  • Loading branch information
kowh-ai committed Apr 30, 2024
2 parents 9da4d97 + bbcadaf commit b70bd39
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
10 changes: 7 additions & 3 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ volumes:
ckan_storage:
pg_data:
solr_data:
pip_cache:
site_packages:
vscode_server:

services:

Expand All @@ -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
Expand Down
5 changes: 4 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ volumes:
ckan_storage:
pg_data:
solr_data:
pip_cache:
site_packages:

services:

Expand Down Expand Up @@ -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"]
Expand Down

0 comments on commit b70bd39

Please sign in to comment.