-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
autoupgrade support by environment variable #72
Comments
Or, at least, can you document a way to upgrade easily? |
As a workaround, I was able to wrap the FROM arangodb:3.6.1
ENV ARANGO_STORAGE_ENGINE rocksdb
ENV ARANGO_RANDOM_ROOT_PASSWORD 1
RUN mv /entrypoint.sh /arango-entrypoint.sh
COPY docker/api-entrypoint.sh /entrypoint.sh
RUN chmod +x /arango-entrypoint.sh /entrypoint.sh and #!/bin/sh
set -e
if [ -f /var/lib/arangodb3/SERVER ]; then
export ARANGO_INIT_ENDPOINT=tcp://127.0.0.1:8999 # Not sure if this is strictly necessary
arangod --config /etc/arangodb3/arangod.conf \
--server.endpoint $ARANGO_INIT_ENDPOINT \
--database.auto-upgrade true
fi
. /arango-entrypoint.sh $@ I think it would be nice if ArangoDB standalone had an option like the cluster coordinators have with |
Why hasn't this option been added? It's a bit ridiculous that this was requested 3 years ago and yet there's no easy way to upgrade when running the stock Docker image. |
No description provided.
The text was updated successfully, but these errors were encountered: