Merge branch 'master' into allow-https-in-dev-mode

This commit is contained in:
Brett Jones 2023-10-07 16:15:49 +02:00 committed by GitHub
commit 21c794b9b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 10 deletions

View File

@ -97,6 +97,7 @@ To start the containers:
See [CKAN Images](#ckan-images) for more details of what happens when using development mode. See [CKAN Images](#ckan-images) for more details of what happens when using development mode.
##### Create an extension ##### Create an extension
You can use the ckan [extension](https://docs.ckan.org/en/latest/extensions/tutorial.html#creating-a-new-extension) instructions to create a CKAN extension, only executing the command inside the CKAN container and setting the mounted `src/` folder as output: You can use the ckan [extension](https://docs.ckan.org/en/latest/extensions/tutorial.html#creating-a-new-extension) instructions to create a CKAN extension, only executing the command inside the CKAN container and setting the mounted `src/` folder as output:

View File

@ -1,5 +1,4 @@
FROM ckan/ckan-base:2.10.1 FROM ckan/ckan-base:2.10.1
#FROM ckan/ckan-base:2.9.9
# Set up environment variables # Set up environment variables
ENV APP_DIR=/srv/app ENV APP_DIR=/srv/app

View File

@ -1,5 +1,4 @@
FROM ckan/ckan-base:2.10.1-dev FROM ckan/ckan-dev:2.10.1
#FROM ckan/ckan-base:2.9.9-dev
# Set up environment variables # Set up environment variables
@ -56,4 +55,4 @@ RUN for d in $APP_DIR/patches/*; do \
cd $SRC_DIR/`basename "$d"` && echo "$0: Applying patch $f to $SRC_DIR/`basename $d`"; patch -p1 < "$f" ; \ cd $SRC_DIR/`basename "$d"` && echo "$0: Applying patch $f to $SRC_DIR/`basename $d`"; patch -p1 < "$f" ; \
done ; \ done ; \
fi ; \ fi ; \
done done

View File

@ -8,7 +8,6 @@ volumes:
services: services:
ckan-dev: ckan-dev:
container_name: ${CKAN_CONTAINER_NAME}
build: build:
context: ckan/ context: ckan/
dockerfile: Dockerfile.dev dockerfile: Dockerfile.dev
@ -33,14 +32,12 @@ services:
test: ["CMD", "wget", "-qO", "/dev/null", "http://localhost:5000"] test: ["CMD", "wget", "-qO", "/dev/null", "http://localhost:5000"]
datapusher: datapusher:
container_name: ${DATAPUSHER_CONTAINER_NAME}
image: ckan/ckan-base-datapusher:${DATAPUSHER_VERSION} image: ckan/ckan-base-datapusher:${DATAPUSHER_VERSION}
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"]
db: db:
container_name: ${POSTGRESQL_CONTAINER_NAME}
build: build:
context: postgresql/ context: postgresql/
environment: environment:
@ -60,7 +57,6 @@ services:
test: ["CMD", "pg_isready", "-U", "${POSTGRES_USER}", "-d", "${POSTGRES_DB}"] test: ["CMD", "pg_isready", "-U", "${POSTGRES_USER}", "-d", "${POSTGRES_DB}"]
solr: solr:
container_name: ${SOLR_CONTAINER_NAME}
image: ckan/ckan-solr:${SOLR_IMAGE_VERSION} image: ckan/ckan-solr:${SOLR_IMAGE_VERSION}
volumes: volumes:
- solr_data:/var/solr - solr_data:/var/solr
@ -69,8 +65,7 @@ services:
test: ["CMD", "wget", "-qO", "/dev/null", "http://localhost:8983/solr/"] test: ["CMD", "wget", "-qO", "/dev/null", "http://localhost:8983/solr/"]
redis: redis:
container_name: ${REDIS_CONTAINER_NAME}
image: redis:${REDIS_VERSION} image: redis:${REDIS_VERSION}
restart: unless-stopped restart: unless-stopped
healthcheck: healthcheck:
test: ["CMD", "redis-cli", "-e", "QUIT"] test: ["CMD", "redis-cli", "-e", "QUIT"]