Update fly.toml to adjust [env] paths and simplify volume mounts configuration
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2025-12-08 18:34:18 +01:00
parent 0e03b9dea9
commit b16ac76620

View File

@ -7,11 +7,11 @@ kill_timeout = 5
dockerfile = "Dockerfile" dockerfile = "Dockerfile"
[env] [env]
PORT = "3000" # Caddy (serves frontend + proxies /api/*) PORT = "3000"
NODE_ENV = "production" NODE_ENV = "production"
BACKEND_PORT = "8080" # Fastify backend will listen here BACKEND_PORT = "8080"
DATABASE_PATH = "/app/data/gallus_cms.db" DATABASE_PATH = "/app/data/db/gallus_cms.db"
GIT_WORKSPACE_DIR = "/app/workspace" GIT_WORKSPACE_DIR = "/app/data/workspace"
[http_service] [http_service]
internal_port = 3000 internal_port = 3000
@ -46,8 +46,4 @@ kill_timeout = 5
[[mounts]] [[mounts]]
source = "gallus_data" source = "gallus_data"
destination = "/app/data" destination = "/app/data"
[[mounts]]
source = "gallus_workspace"
destination = "/app/workspace"