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