Compose updates

This commit is contained in:
Brett 2022-12-12 13:21:17 +01:00
parent 5566c559fc
commit e56eebd85e
2 changed files with 3 additions and 8 deletions

View File

@ -26,7 +26,8 @@ services:
redis: redis:
condition: service_healthy condition: service_healthy
ports: ports:
- "0.0.0.0:${CKAN_PORT}:5000" - "0.0.0.0:${CKAN_PORT_HOST}:${CKAN_PORT}"
volumes: volumes:
- ckan_config:/etc/ckan - ckan_config:/etc/ckan
- ckan_home:/usr/lib/ckan - ckan_home:/usr/lib/ckan
@ -38,12 +39,7 @@ services:
datapusher: datapusher:
container_name: ${DATAPUSHER_CONTAINER_NAME} container_name: ${DATAPUSHER_CONTAINER_NAME}
build: image: ckan/ckan-base-datapusher:${DATAPUSHER_VERSION}
context: datapusher/
args:
- DATAPUSHER_VERSION=${DATAPUSHER_VERSION}
ports:
- "8800:8800"
restart: unless-stopped restart: unless-stopped
healthcheck: healthcheck:
test: ["CMD", "wget", "-qO", "/dev/null", "http://localhost:8800"] test: ["CMD", "wget", "-qO", "/dev/null", "http://localhost:8800"]

View File

@ -85,4 +85,3 @@ services:
restart: unless-stopped restart: unless-stopped
healthcheck: healthcheck:
test: ["CMD", "redis-cli", "-e", "QUIT"] test: ["CMD", "redis-cli", "-e", "QUIT"]