Add health check endpoint to verify that the locally running DB revision matches that of the database
Fixes #132
This commit is contained in:
parent
ae779cade2
commit
6e0dc1df08
2 changed files with 27 additions and 0 deletions
|
@ -55,6 +55,8 @@ RUN mkdir /usr/local/nginx/logs/
|
|||
RUN TEST=true venv/bin/python -m unittest discover -f
|
||||
RUN TEST=true venv/bin/python -m test.registry_tests -f
|
||||
|
||||
RUN PYTHONPATH=. venv/bin/alembic heads > ALEMBIC_HEAD
|
||||
|
||||
VOLUME ["/conf/stack", "/var/log", "/datastorage", "/tmp", "/conf/etcd"]
|
||||
|
||||
EXPOSE 443 8443 80
|
||||
|
|
Reference in a new issue