{
  "manifest_version": "1.0.0",
  "template": {
    "id": "d2663650-d44d-4ffb-9f78-6483842bf5aa",
    "slug": "openproject-production",
    "name": "OpenProject | Project Management & Jira Alternative (17.9)",
    "description": "Open-source project management: Gantt, boards, time tracking. Admin ready.",
    "url": "https://railway.com/deploy/openproject-production",
    "upstream": {
      "image": "openproject/openproject:17.9.2-slim"
    }
  },
  "services": [
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:17"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "OpenProject",
      "source": {
        "image": "openproject/openproject:17.9.2-slim"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Worker",
      "source": {
        "image": "openproject/openproject:17.9.2-slim"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Data subdirectory - keeps Postgres happy on Railway volumes",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Database name",
      "secret": false,
      "strategy": "default",
      "default": "openproject"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "Database user",
      "secret": false,
      "strategy": "default",
      "default": "openproject"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "Auto-generated database password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Time for Postgres to shut down cleanly on redeploy",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "PORT",
      "service": "OpenProject",
      "description": "Port OpenProject listens on - leave as is",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "DATABASE_URL",
      "service": "OpenProject",
      "description": "PostgreSQL connection (pool of 20 for web threads and background jobs)",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "SECRET_KEY_BASE",
      "service": "OpenProject",
      "description": "Signs sessions and tokens. Never change it after the first deploy.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "OPENPROJECT_HTTPS",
      "service": "OpenProject",
      "description": "Railway serves your domain over HTTPS",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "RAILS_MAX_THREADS",
      "service": "OpenProject",
      "description": "Puma threads",
      "secret": false,
      "strategy": "default",
      "default": "8"
    },
    {
      "key": "OPENPROJECT_HOST__NAME",
      "service": "OpenProject",
      "description": "Public host name used in links and emails. Change it to your custom domain after adding one.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "OPENPROJECT_WEB_WORKERS",
      "service": "OpenProject",
      "description": "Single puma process with threads - keeps memory low. Raise to 2+ on bigger plans.",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "OPENPROJECT_FOG_DIRECTORY",
      "service": "OpenProject",
      "description": "Bucket name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "OPENPROJECT_DIRECT__UPLOADS",
      "service": "OpenProject",
      "description": "Upload through OpenProject instead of straight from the browser to the bucket (which would need bucket CORS)",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "OPENPROJECT_DEFAULT__LANGUAGE",
      "service": "OpenProject",
      "description": "Default language for new users and seeded data",
      "secret": false,
      "strategy": "default",
      "default": "en"
    },
    {
      "key": "OPENPROJECT_ATTACHMENTS__STORAGE",
      "service": "OpenProject",
      "description": "Store attachments in the Railway bucket, so the web and worker services both see them",
      "secret": false,
      "strategy": "default",
      "default": "fog"
    },
    {
      "key": "OPENPROJECT_FOG_CREDENTIALS_REGION",
      "service": "OpenProject",
      "description": "Bucket region",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "OPENPROJECT_SEED__ADMIN__USER__MAIL",
      "service": "OpenProject",
      "description": "Email address of the admin account (change it later under My account)",
      "secret": false,
      "strategy": "default",
      "default": "admin@example.com"
    },
    {
      "key": "OPENPROJECT_FOG_CREDENTIALS_ENDPOINT",
      "service": "OpenProject",
      "description": "Bucket endpoint",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "OPENPROJECT_FOG_CREDENTIALS_PROVIDER",
      "service": "OpenProject",
      "description": "S3-compatible storage",
      "secret": false,
      "strategy": "default",
      "default": "AWS"
    },
    {
      "key": "OPENPROJECT_SEED__ADMIN__USER__PASSWORD",
      "service": "OpenProject",
      "description": "Password of the 'admin' account created on first boot",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "OPENPROJECT_SEED__ADMIN__USER__PASSWORD__RESET",
      "service": "OpenProject",
      "description": "Don't force a password change on first sign-in",
      "secret": true,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "OPENPROJECT_FOG_CREDENTIALS_AWS__ACCESS__KEY__ID",
      "service": "OpenProject",
      "description": "Bucket access key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "OPENPROJECT_FOG_CREDENTIALS_AWS__SECRET__ACCESS__KEY",
      "service": "OpenProject",
      "description": "Bucket secret key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DATABASE_URL",
      "service": "Worker",
      "description": "PostgreSQL connection (pool of 20 for web threads and background jobs)",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "SECRET_KEY_BASE",
      "service": "Worker",
      "description": "Must match the OpenProject service",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "OPENPROJECT_HTTPS",
      "service": "Worker",
      "description": "Railway serves your domain over HTTPS",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "OPENPROJECT_HOST__NAME",
      "service": "Worker",
      "description": "Same host name as the OpenProject service",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "OPENPROJECT_FOG_DIRECTORY",
      "service": "Worker",
      "description": "Bucket name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "OPENPROJECT_DIRECT__UPLOADS",
      "service": "Worker",
      "description": "Upload through OpenProject instead of straight from the browser to the bucket (which would need bucket CORS)",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "WAIT_FOR_DB_TIMEOUT_SECONDS",
      "service": "Worker",
      "description": "How long the worker waits for the database on first boot",
      "secret": false,
      "strategy": "default",
      "default": "900"
    },
    {
      "key": "OPENPROJECT_DEFAULT__LANGUAGE",
      "service": "Worker",
      "description": "Default language for new users and seeded data",
      "secret": false,
      "strategy": "default",
      "default": "en"
    },
    {
      "key": "OPENPROJECT_ATTACHMENTS__STORAGE",
      "service": "Worker",
      "description": "Store attachments in the Railway bucket, so the web and worker services both see them",
      "secret": false,
      "strategy": "default",
      "default": "fog"
    },
    {
      "key": "OPENPROJECT_FOG_CREDENTIALS_REGION",
      "service": "Worker",
      "description": "Bucket region",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "OPENPROJECT_GOOD__JOB__MAX__THREADS",
      "service": "Worker",
      "description": "Background job threads",
      "secret": false,
      "strategy": "default",
      "default": "8"
    },
    {
      "key": "OPENPROJECT_FOG_CREDENTIALS_ENDPOINT",
      "service": "Worker",
      "description": "Bucket endpoint",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "OPENPROJECT_FOG_CREDENTIALS_PROVIDER",
      "service": "Worker",
      "description": "S3-compatible storage",
      "secret": false,
      "strategy": "default",
      "default": "AWS"
    },
    {
      "key": "OPENPROJECT_FOG_CREDENTIALS_AWS__ACCESS__KEY__ID",
      "service": "Worker",
      "description": "Bucket access key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "OPENPROJECT_FOG_CREDENTIALS_AWS__SECRET__ACCESS__KEY",
      "service": "Worker",
      "description": "Bucket secret key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "openproject-production"
      }
    },
    "cli": "railway deploy --template openproject-production",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "d2663650-d44d-4ffb-9f78-6483842bf5aa",
            "serializedConfig": {
              "buckets": {
                "2d782abb-55be-41d7-8091-ed70adfe7328": {
                  "name": "Files"
                }
              },
              "services": {
                "b8ac055d-bd8b-4e52-a891-7974f8beb4d3": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "build": {},
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:17"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Data subdirectory - keeps Postgres happy on Railway volumes",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Database name",
                      "defaultValue": "openproject"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Database user",
                      "defaultValue": "openproject"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Auto-generated database password",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Time for Postgres to shut down cleanly on redeploy",
                      "defaultValue": "60"
                    }
                  },
                  "networking": {
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "38c052b0-a062-41b5-bf2c-ca417447e604": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "d130e605-68ee-465a-ae9d-9a0aad6afe10": {
                  "icon": "https://raw.githubusercontent.com/nomideusz/openproject-railway/main/icon.png",
                  "name": "OpenProject",
                  "build": {},
                  "deploy": {
                    "startCommand": "./docker/prod/web",
                    "healthcheckPath": "/health_checks/default",
                    "preDeployCommand": [
                      "./docker/prod/seeder"
                    ],
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 300,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "openproject/openproject:17.9.2-slim"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port OpenProject listens on - leave as is",
                      "defaultValue": "8080"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "PostgreSQL connection (pool of 20 for web threads and background jobs)",
                      "defaultValue": "postgresql://${{Postgres.POSTGRES_USER}}:${{Postgres.POSTGRES_PASSWORD}}@${{Postgres.RAILWAY_PRIVATE_DOMAIN}}:5432/${{Postgres.POSTGRES_DB}}?pool=20&encoding=unicode"
                    },
                    "SECRET_KEY_BASE": {
                      "isOptional": false,
                      "description": "Signs sessions and tokens. Never change it after the first deploy.",
                      "defaultValue": "{{SECRET_KEY_BASE}}"
                    },
                    "OPENPROJECT_HTTPS": {
                      "isOptional": false,
                      "description": "Railway serves your domain over HTTPS",
                      "defaultValue": "true"
                    },
                    "RAILS_MAX_THREADS": {
                      "isOptional": false,
                      "description": "Puma threads",
                      "defaultValue": "8"
                    },
                    "OPENPROJECT_HOST__NAME": {
                      "isOptional": false,
                      "description": "Public host name used in links and emails. Change it to your custom domain after adding one.",
                      "defaultValue": "${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "OPENPROJECT_WEB_WORKERS": {
                      "isOptional": false,
                      "description": "Single puma process with threads - keeps memory low. Raise to 2+ on bigger plans.",
                      "defaultValue": "0"
                    },
                    "OPENPROJECT_FOG_DIRECTORY": {
                      "isOptional": false,
                      "description": "Bucket name",
                      "defaultValue": "${{Files.BUCKET}}"
                    },
                    "OPENPROJECT_DIRECT__UPLOADS": {
                      "isOptional": false,
                      "description": "Upload through OpenProject instead of straight from the browser to the bucket (which would need bucket CORS)",
                      "defaultValue": "false"
                    },
                    "OPENPROJECT_DEFAULT__LANGUAGE": {
                      "isOptional": false,
                      "description": "Default language for new users and seeded data",
                      "defaultValue": "en"
                    },
                    "OPENPROJECT_ATTACHMENTS__STORAGE": {
                      "isOptional": false,
                      "description": "Store attachments in the Railway bucket, so the web and worker services both see them",
                      "defaultValue": "fog"
                    },
                    "OPENPROJECT_FOG_CREDENTIALS_REGION": {
                      "isOptional": false,
                      "description": "Bucket region",
                      "defaultValue": "${{Files.REGION}}"
                    },
                    "OPENPROJECT_SEED__ADMIN__USER__MAIL": {
                      "isOptional": false,
                      "description": "Email address of the admin account (change it later under My account)",
                      "defaultValue": "admin@example.com"
                    },
                    "OPENPROJECT_FOG_CREDENTIALS_ENDPOINT": {
                      "isOptional": false,
                      "description": "Bucket endpoint",
                      "defaultValue": "${{Files.ENDPOINT}}"
                    },
                    "OPENPROJECT_FOG_CREDENTIALS_PROVIDER": {
                      "isOptional": false,
                      "description": "S3-compatible storage",
                      "defaultValue": "AWS"
                    },
                    "OPENPROJECT_SEED__ADMIN__USER__PASSWORD": {
                      "isOptional": false,
                      "description": "Password of the 'admin' account created on first boot",
                      "defaultValue": "{{OPENPROJECT_SEED__ADMIN__USER__PASSWORD}}"
                    },
                    "OPENPROJECT_SEED__ADMIN__USER__PASSWORD__RESET": {
                      "isOptional": false,
                      "description": "Don't force a password change on first sign-in",
                      "defaultValue": "false"
                    },
                    "OPENPROJECT_FOG_CREDENTIALS_AWS__ACCESS__KEY__ID": {
                      "isOptional": false,
                      "description": "Bucket access key",
                      "defaultValue": "${{Files.ACCESS_KEY_ID}}"
                    },
                    "OPENPROJECT_COLLABORATIVE__EDITING__HOCUSPOCUS__URL": {
                      "isOptional": true,
                      "description": "Real-time collaborative editing server - not included, so left empty",
                      "defaultValue": ""
                    },
                    "OPENPROJECT_FOG_CREDENTIALS_AWS__SECRET__ACCESS__KEY": {
                      "isOptional": false,
                      "description": "Bucket secret key",
                      "defaultValue": "${{Files.SECRET_ACCESS_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                },
                "fcae3b48-cb79-4f8f-986f-9f5e77f085b5": {
                  "icon": "https://raw.githubusercontent.com/nomideusz/openproject-railway/main/icon.png",
                  "name": "Worker",
                  "build": {},
                  "deploy": {
                    "startCommand": "/bin/bash -c \"./docker/prod/wait-for-db && exec ./docker/prod/worker\"",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "openproject/openproject:17.9.2-slim"
                  },
                  "variables": {
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "PostgreSQL connection (pool of 20 for web threads and background jobs)",
                      "defaultValue": "postgresql://${{Postgres.POSTGRES_USER}}:${{Postgres.POSTGRES_PASSWORD}}@${{Postgres.RAILWAY_PRIVATE_DOMAIN}}:5432/${{Postgres.POSTGRES_DB}}?pool=20&encoding=unicode"
                    },
                    "SECRET_KEY_BASE": {
                      "isOptional": false,
                      "description": "Must match the OpenProject service",
                      "defaultValue": "${{OpenProject.SECRET_KEY_BASE}}"
                    },
                    "OPENPROJECT_HTTPS": {
                      "isOptional": false,
                      "description": "Railway serves your domain over HTTPS",
                      "defaultValue": "true"
                    },
                    "OPENPROJECT_HOST__NAME": {
                      "isOptional": false,
                      "description": "Same host name as the OpenProject service",
                      "defaultValue": "${{OpenProject.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "OPENPROJECT_FOG_DIRECTORY": {
                      "isOptional": false,
                      "description": "Bucket name",
                      "defaultValue": "${{Files.BUCKET}}"
                    },
                    "OPENPROJECT_DIRECT__UPLOADS": {
                      "isOptional": false,
                      "description": "Upload through OpenProject instead of straight from the browser to the bucket (which would need bucket CORS)",
                      "defaultValue": "false"
                    },
                    "WAIT_FOR_DB_TIMEOUT_SECONDS": {
                      "isOptional": false,
                      "description": "How long the worker waits for the database on first boot",
                      "defaultValue": "900"
                    },
                    "OPENPROJECT_DEFAULT__LANGUAGE": {
                      "isOptional": false,
                      "description": "Default language for new users and seeded data",
                      "defaultValue": "en"
                    },
                    "OPENPROJECT_ATTACHMENTS__STORAGE": {
                      "isOptional": false,
                      "description": "Store attachments in the Railway bucket, so the web and worker services both see them",
                      "defaultValue": "fog"
                    },
                    "OPENPROJECT_FOG_CREDENTIALS_REGION": {
                      "isOptional": false,
                      "description": "Bucket region",
                      "defaultValue": "${{Files.REGION}}"
                    },
                    "OPENPROJECT_GOOD__JOB__MAX__THREADS": {
                      "isOptional": false,
                      "description": "Background job threads",
                      "defaultValue": "8"
                    },
                    "OPENPROJECT_FOG_CREDENTIALS_ENDPOINT": {
                      "isOptional": false,
                      "description": "Bucket endpoint",
                      "defaultValue": "${{Files.ENDPOINT}}"
                    },
                    "OPENPROJECT_FOG_CREDENTIALS_PROVIDER": {
                      "isOptional": false,
                      "description": "S3-compatible storage",
                      "defaultValue": "AWS"
                    },
                    "OPENPROJECT_FOG_CREDENTIALS_AWS__ACCESS__KEY__ID": {
                      "isOptional": false,
                      "description": "Bucket access key",
                      "defaultValue": "${{Files.ACCESS_KEY_ID}}"
                    },
                    "OPENPROJECT_COLLABORATIVE__EDITING__HOCUSPOCUS__URL": {
                      "isOptional": true,
                      "description": "Real-time collaborative editing server - not included, so left empty",
                      "defaultValue": ""
                    },
                    "OPENPROJECT_FOG_CREDENTIALS_AWS__SECRET__ACCESS__KEY": {
                      "isOptional": false,
                      "description": "Bucket secret key",
                      "defaultValue": "${{Files.SECRET_ACCESS_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {}
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "OpenProject",
      "method": "GET",
      "path": "/health_checks/default",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 3,
    "needs_volume": true
  },
  "generated_at": "2026-10-18T04:14:41.301Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-10-18T01:44:06.997Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_1a1f6377b26645408c1f",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": false,
        "detail": "Your workspace has been restricted. Please contact support to resolve this."
      }
    ]
  }
}
