mirror of
https://github.com/maubot/maubot.git
synced 2024-10-01 01:06:10 -04:00
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