# Railway deployment configuration for Ghostfolio # # Branch strategy: # - Ghostfolio (this repo): deploy from "main" branch # - ghostfolio-agent submodule: uses "ghostfolio-main" branch # # Required environment variables (set in Railway dashboard): # DATABASE_URL, REDIS_HOST, REDIS_PORT, REDIS_PASSWORD, # JWT_SECRET_KEY, ACCESS_TOKEN_SALT, ROOT_URL [build] builder = "DOCKERFILE" dockerfilePath = "Dockerfile" [deploy] healthcheckPath = "/api/v1/health" healthcheckTimeout = 300 restartPolicyType = "ON_FAILURE" restartPolicyMaxRetries = 10