arangodb / arangodb-docker

Docker container for ArangoDB
Apache License 2.0
106 stars 32 forks source link

ARANGO_NO_AUTH still disables auth if set to 0 #115

Open dbsanfte opened 1 year ago

dbsanfte commented 1 year ago

From the docs, setting ARANGO_NO_AUTH to 1 is meant to disable auth, so the corrolary of setting it to 0 not disabling auth is implied.

This is not the case however. The entrypoint checks for this variable to be defined, and disables auth regardless of its value.

If this is the desired behaviour, it should be noted in the docs that this is not a switch.

https://github.com/arangodb/arangodb-docker/blob/a2086d378d6c439d95b6900c6429709e57c6f24d/docker-entrypoint33.sh#L141