Provide an example container that includes the current CouchDB
and Clouseau releases.
How:
Clone the 3.2.0-ubi-clouseau directory to 3.2.2-ubi-clouseau
In 3.2.2-ubi-clouseau:
Update CouchDB to 3.2.2
Update Clouseau to 2.21.0
Import and configure the SLF4J Simple logger. Clouseau 2.20.0
removed Log4J in favour of SLF4J. For most container applications,
logging to Console only should suffice. If alternative SLF4J
backends are required they can be imported / configured
in a similar fashion.
Add support for the COUCHDB_ERLANG_COOKIE environment variable
in the Dockerfile entrypoint. This is not precisely the same as in
the images without Clouseau because the -ubi-clouseau images
already supported passing in a cookie via ERL_FLAGS and extracting
it to configure clouseau (which needs the cookie to connect
to CouchDB). In this Dockerfile, we always pass the cookie via
ERL_FLAGS and will extract it from COUCHDB_ERLANG_COOKIE if
passed.
Testing recommendations
cd 3.2.2-ubi-clouseau
docker build . -t couchdb:3.2.2-ubi-clouseau
I verified that the container starts, I can create / query search
indexes etc. I tested passing in COUCHDB_ERLANG_COOKIE but have
not tested permutations beyond that.
Overview
Provide an example container that includes the current CouchDB and Clouseau releases.
How:
3.2.2-ubi-clouseau
3.2.2-ubi-clouseau
:COUCHDB_ERLANG_COOKIE
environment variable in the Dockerfile entrypoint. This is not precisely the same as in the images without Clouseau because the-ubi-clouseau
images already supported passing in a cookie viaERL_FLAGS
and extracting it to configureclouseau
(which needs the cookie to connect to CouchDB). In this Dockerfile, we always pass the cookie viaERL_FLAGS
and will extract it fromCOUCHDB_ERLANG_COOKIE
if passed.Testing recommendations
To run the container:
I verified that the container starts, I can create / query search indexes etc. I tested passing in
COUCHDB_ERLANG_COOKIE
but have not tested permutations beyond that.GitHub issue number
Related Pull Requests
Checklist