couchdb: set single_node=true
to remove the need to check if the _users database was created
This commit is contained in:
@@ -1,14 +1,5 @@
|
||||
FROM couchdb:3.4.2
|
||||
|
||||
COPY docker-custom-entrypoint.sh /usr/local/bin/docker-custom-entrypoint.sh
|
||||
COPY init_users_db.sh /usr/local/bin/init_users_db.sh
|
||||
COPY local.ini /opt/couchdb/etc/local.d/local.ini
|
||||
|
||||
ENTRYPOINT ["tini", "--", "/usr/local/bin/docker-custom-entrypoint.sh"]
|
||||
|
||||
EXPOSE 5984
|
||||
|
||||
# Copied from the couchdb image Dockerfile
|
||||
# https://github.com/apache/couchdb-docker/blob/734c61f/3.4.2/Dockerfile#L104
|
||||
# as it would have been otherwise reset to an empty string
|
||||
# See https://docs.docker.com/reference/dockerfile/#understand-how-cmd-and-entrypoint-interact
|
||||
CMD ["/opt/couchdb/bin/couchdb"]
|
||||
# Inherit ENTRYPOINT and CMD from couchdb image
|
||||
|
||||
Reference in New Issue
Block a user