From decc906f062f2e14b5c4892c8ee4c01ac52992cb Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sat, 28 Sep 2019 18:25:30 +0300 Subject: [PATCH] Run alembic at startup --- docker/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/run.sh b/docker/run.sh index 24c8f60..81b0a74 100755 --- a/docker/run.sh +++ b/docker/run.sh @@ -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