#!/bin/sh # Reads the admin password from the Docker secret and installs the LiveSync # settings before handing over to the image's own entrypoint. set -e export COUCHDB_PASSWORD="$(cat /run/secrets/couchdb_password)" cp /livesync.ini /opt/couchdb/etc/local.d/10-livesync.ini exec tini -- /docker-entrypoint.sh /opt/couchdb/bin/couchdb