Run alembic at startup

This commit is contained in:
Tulir Asokan 2019-09-28 18:25:30 +03:00
parent 2341d29856
commit decc906f06

View File

@ -16,6 +16,6 @@ if [ ! -f /data/config.yaml ]; then
fi
mkdir -p /var/log/maubot /data/plugins /data/trash /data/dbs
#alembic -x config=/data/config.yaml upgrade head
alembic -x config=/data/config.yaml upgrade head
fixperms
exec su-exec $UID:$GID python3 -m maubot -c /data/config.yaml -b docker/example-config.yaml