Run alembic at startup
This commit is contained in:
parent
2341d29856
commit
decc906f06
@ -16,6 +16,6 @@ if [ ! -f /data/config.yaml ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p /var/log/maubot /data/plugins /data/trash /data/dbs
|
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
|
fixperms
|
||||||
exec su-exec $UID:$GID python3 -m maubot -c /data/config.yaml -b docker/example-config.yaml
|
exec su-exec $UID:$GID python3 -m maubot -c /data/config.yaml -b docker/example-config.yaml
|
||||||
|
Loading…
Reference in New Issue
Block a user