From b16ac7662022aa55af59fd41745284e7eaeb88de Mon Sep 17 00:00:00 2001 From: Kenzo Date: Mon, 8 Dec 2025 18:34:18 +0100 Subject: [PATCH] Update `fly.toml` to adjust [env] paths and simplify volume mounts configuration --- fly.toml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/fly.toml b/fly.toml index e50be78..8520c3e 100644 --- a/fly.toml +++ b/fly.toml @@ -7,11 +7,11 @@ kill_timeout = 5 dockerfile = "Dockerfile" [env] - PORT = "3000" # Caddy (serves frontend + proxies /api/*) + PORT = "3000" NODE_ENV = "production" - BACKEND_PORT = "8080" # Fastify backend will listen here - DATABASE_PATH = "/app/data/gallus_cms.db" - GIT_WORKSPACE_DIR = "/app/workspace" + BACKEND_PORT = "8080" + DATABASE_PATH = "/app/data/db/gallus_cms.db" + GIT_WORKSPACE_DIR = "/app/data/workspace" [http_service] internal_port = 3000 @@ -46,8 +46,4 @@ kill_timeout = 5 [[mounts]] source = "gallus_data" - destination = "/app/data" - -[[mounts]] - source = "gallus_workspace" - destination = "/app/workspace" \ No newline at end of file + destination = "/app/data" \ No newline at end of file