diff --git a/Dockerfile b/Dockerfile
index de62093..ac57acd 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -17,8 +17,8 @@ COPY --from=docker.io/tailscale/tailscale:stable /usr/local/bin/tailscaled /app/
COPY --from=docker.io/tailscale/tailscale:stable /usr/local/bin/tailscale /app/tailscale
RUN mkdir -p /var/run/tailscale /var/cache/tailscale /var/lib/tailscale
-ENV HOME /home/nonroot
-ENV GO_JI_DB_URL sqlite:////home/nonroot/go-ji.db
+ENV HOME /data
+ENV GO_JI_DB_URL sqlite:////data/go-ji.db
# Run on container startup.
CMD ["/app/start.sh"]
diff --git a/fly.toml b/fly.toml
index cf4b939..67ece69 100644
--- a/fly.toml
+++ b/fly.toml
@@ -1,8 +1,8 @@
-app = 'go-ji'
-primary_region = 'sea'
+app = "go-ji"
+primary_region = "sea"
[build]
- image = 'ghcr.io/kejadlen/go-ji:latest'
+ image = "ghcr.io/kejadlen/go-ji:latest"
[http_service]
internal_port = 8000
@@ -10,13 +10,13 @@ primary_region = 'sea'
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
- processes = ['app']
+ processes = ["app"]
[[vm]]
- cpu_kind = 'shared'
+ cpu_kind = "shared"
cpus = 1
memory_mb = 256
[mounts]
- source="go-ji"
- destination="/home/nonroot"
+ source = "go_ji"
+ destination = "/data"