Update fly.toml to adjust [env] paths and simplify volume mounts configuration
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
14
fly.toml
14
fly.toml
@ -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"
|
|
||||||
Reference in New Issue
Block a user