Skip to content

Commit

Permalink
Update release command to create readonly user
Browse files Browse the repository at this point in the history
On release, in addition to running database migrations on the Postgres
database, ensure that there exists a 'readonly' user for the Arango
database, with universal read-only permissions. This user is used by
application code for certain actions like running arbitrary AQL queries
via the GET /api/workspaces/{workspace}/aql/ endpoint.
  • Loading branch information
naglepuff committed Aug 26, 2021
1 parent 5a5b7e6 commit 43b4bd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
release: ./manage.py migrate
release: ./manage.py migrate && ./manage.py createarangoreadonlyuser
web: gunicorn --bind 0.0.0.0:$PORT multinet.wsgi
worker: REMAP_SIGTERM=SIGQUIT celery --app multinet.celery worker --loglevel INFO --without-heartbeat

0 comments on commit 43b4bd9

Please sign in to comment.