Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
pcbimon committed Jun 23, 2024
2 parents 24e2337 + 2dea376 commit a622987
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ CKAN__XLOADER__JOBS_DB__URI=postgresql://ckandbuser:ckandbpassword@db/ckandb


# Extensions
CKAN__PLUGINS="envvars image_view text_view datatables_view datastore datapusher"
CKAN__PLUGINS="envvars image_view text_view datatables_view datastore xloader"
CKAN__HARVEST__MQ__TYPE=redis
CKAN__HARVEST__MQ__HOSTNAME=redis
CKAN__HARVEST__MQ__PORT=6379
Expand Down
33 changes: 30 additions & 3 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,38 @@ services:
healthcheck:
test: ["CMD", "wget", "-qO", "/dev/null", "http://localhost:5000"]

datapusher:
image: ckan/ckan-base-datapusher:${DATAPUSHER_VERSION}
ckan-xloader:
build:
context: ckan/ckanext-xloader/
dockerfile: Dockerfile
args:
- TZ=${TZ}
networks:
- ckannet
- dbnet
- solrnet
- redisnet
env_file:
- .env
depends_on:
db:
condition: service_healthy
solr:
condition: service_healthy
redis:
condition: service_healthy
volumes:
- ckan_storage:/var/lib/ckan
- 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:8800"]
test: curl --max-time 10 -f http://localhost:5000/api/3 || exit 1
# first startup and config takes really long
start_period: 240s
interval: 10s
timeout: 10s
retries: 5

db:
build:
Expand Down

0 comments on commit a622987

Please sign in to comment.