release vms don't have access to volumes
diff --git a/fly.toml b/fly.toml
index 6098490..fb673fe 100644
--- a/fly.toml
+++ b/fly.toml
@@ -2,7 +2,7 @@ app = "go-ji"
primary_region = "sea"
[build]
- image = "ghcr.io/kejadlen/go-ji:latest"
+ image = "ghcr.io/kejadlen/go-ji:fly"
[http_service]
internal_port = 8000
@@ -20,6 +20,3 @@ primary_region = "sea"
[mounts]
source = "go_ji"
destination = "/data"
-
-[deploy]
- release_command = "alembic upgrade head"
diff --git a/start.sh b/start.sh
index e4150f6..18c2796 100755
--- a/start.sh
+++ b/start.sh
@@ -6,6 +6,8 @@ mkdir -p /data/tailscale
# trap '/app/tailscale logout' INT
+alembic upgrade head
+
/app/tailscale serve --bg --http=80 8000
gunicorn --daemon --bind 0.0.0.0:8000 go_ji:create_app