{
  "manifest_version": "1.0.0",
  "template": {
    "id": "f2df4ff3-dd46-4900-a021-76aa5065a457",
    "slug": "adventurelog-travel-planner",
    "name": "AdventureLog travel planner",
    "description": "",
    "url": "https://railway.com/deploy/adventurelog-travel-planner",
    "upstream": {
      "image": "ghcr.io/seanmorley15/adventurelog-backend:v0.12.1@sha256:7c759efab1476841f7319776666e527bedd481cd71dbb08e51aaa5959f2a28eb"
    }
  },
  "services": [
    {
      "name": "AdventureLog Backend",
      "source": {
        "image": "ghcr.io/seanmorley15/adventurelog-backend:v0.12.1@sha256:7c759efab1476841f7319776666e527bedd481cd71dbb08e51aaa5959f2a28eb"
      },
      "needs_volume": true,
      "volume_mount_path": "/code/media",
      "http": true
    },
    {
      "name": "AdventureLog Frontend",
      "source": {
        "image": "ghcr.io/seanmorley15/adventurelog-frontend:v0.12.1@sha256:edd79220f0def1dbea5b5d56636621f6cfdb454db9c00a8ce436a8ab489c5e99"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "AdventureLog PostGIS",
      "source": {
        "image": "postgis/postgis:16-3.5-alpine@sha256:b193e996618e9e632e2c6e268462b350c28a9c871cb0352b32905fc01e0299bd"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "AdventureLog Backend",
      "description": "Public backend listener.",
      "secret": false,
      "strategy": "default",
      "default": "80"
    },
    {
      "key": "DEBUG",
      "service": "AdventureLog Backend",
      "description": "Disables Django debug mode.",
      "secret": false,
      "strategy": "default",
      "default": "False"
    },
    {
      "key": "PGHOST",
      "service": "AdventureLog Backend",
      "description": "Private PostGIS hostname.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PUBLIC_URL",
      "service": "AdventureLog Backend",
      "description": "Public backend origin for media URLs.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "SECRET_KEY",
      "service": "AdventureLog Backend",
      "description": "Generated Django signing secret.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "POSTGRES_DB",
      "service": "AdventureLog Backend",
      "description": "Application database.",
      "secret": false,
      "strategy": "default",
      "default": "adventurelog"
    },
    {
      "key": "FRONTEND_URL",
      "service": "AdventureLog Backend",
      "description": "Public frontend origin used in generated links.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "POSTGRES_USER",
      "service": "AdventureLog Backend",
      "description": "Application database user.",
      "secret": false,
      "strategy": "default",
      "default": "adventurelog"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "AdventureLog Backend",
      "description": "Reference to the generated database password.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DJANGO_ADMIN_EMAIL",
      "service": "AdventureLog Backend",
      "description": "Initial administrator email.",
      "secret": false,
      "strategy": "default",
      "default": "admin@example.com"
    },
    {
      "key": "CSRF_TRUSTED_ORIGINS",
      "service": "AdventureLog Backend",
      "description": "Trusted backend and frontend HTTPS origins.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "DISABLE_REGISTRATION",
      "service": "AdventureLog Backend",
      "description": "Prevents public account creation.",
      "secret": false,
      "strategy": "default",
      "default": "True"
    },
    {
      "key": "DJANGO_ADMIN_PASSWORD",
      "service": "AdventureLog Backend",
      "description": "Generated administrator password.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DJANGO_ADMIN_USERNAME",
      "service": "AdventureLog Backend",
      "description": "Generated administrator username.",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "ACCOUNT_EMAIL_VERIFICATION",
      "service": "AdventureLog Backend",
      "description": "Avoids unusable email verification without SMTP.",
      "secret": false,
      "strategy": "default",
      "default": "none"
    },
    {
      "key": "PORT",
      "service": "AdventureLog Frontend",
      "description": "Public frontend listener.",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "ORIGIN",
      "service": "AdventureLog Frontend",
      "description": "Canonical public frontend origin.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "BODY_SIZE_LIMIT",
      "service": "AdventureLog Frontend",
      "description": "Allows AdventureLog's configured upload sizes.",
      "secret": false,
      "strategy": "default",
      "default": "Infinity"
    },
    {
      "key": "PUBLIC_SERVER_URL",
      "service": "AdventureLog Frontend",
      "description": "Private backend endpoint used by the frontend server.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGDATA",
      "service": "AdventureLog PostGIS",
      "description": "Database directory below the volume root.",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "POSTGRES_DB",
      "service": "AdventureLog PostGIS",
      "description": "AdventureLog database.",
      "secret": false,
      "strategy": "default",
      "default": "adventurelog"
    },
    {
      "key": "POSTGRES_USER",
      "service": "AdventureLog PostGIS",
      "description": "AdventureLog database user.",
      "secret": false,
      "strategy": "default",
      "default": "adventurelog"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "AdventureLog PostGIS",
      "description": "Generated database password.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "adventurelog-travel-planner"
      }
    },
    "cli": "railway deploy --template adventurelog-travel-planner",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "f2df4ff3-dd46-4900-a021-76aa5065a457",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "342c8c0b-b291-472a-991d-747ca67165e5": {
                  "icon": null,
                  "name": "AdventureLog Backend",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 900,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/seanmorley15/adventurelog-backend:v0.12.1@sha256:7c759efab1476841f7319776666e527bedd481cd71dbb08e51aaa5959f2a28eb"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Public backend listener.",
                      "defaultValue": "80"
                    },
                    "DEBUG": {
                      "isOptional": false,
                      "description": "Disables Django debug mode.",
                      "defaultValue": "False"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Private PostGIS hostname.",
                      "defaultValue": "${{AdventureLog PostGIS.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PUBLIC_URL": {
                      "isOptional": false,
                      "description": "Public backend origin for media URLs.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "SECRET_KEY": {
                      "isOptional": false,
                      "description": "Generated Django signing secret.",
                      "defaultValue": "{{SECRET_KEY}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Application database.",
                      "defaultValue": "adventurelog"
                    },
                    "FRONTEND_URL": {
                      "isOptional": false,
                      "description": "Public frontend origin used in generated links.",
                      "defaultValue": "https://${{AdventureLog Frontend.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Application database user.",
                      "defaultValue": "adventurelog"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Reference to the generated database password.",
                      "defaultValue": "${{AdventureLog PostGIS.POSTGRES_PASSWORD}}"
                    },
                    "DJANGO_ADMIN_EMAIL": {
                      "isOptional": false,
                      "description": "Initial administrator email.",
                      "defaultValue": "admin@example.com"
                    },
                    "CSRF_TRUSTED_ORIGINS": {
                      "isOptional": false,
                      "description": "Trusted backend and frontend HTTPS origins.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}},https://${{AdventureLog Frontend.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "DISABLE_REGISTRATION": {
                      "isOptional": false,
                      "description": "Prevents public account creation.",
                      "defaultValue": "True"
                    },
                    "DJANGO_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated administrator password.",
                      "defaultValue": "{{DJANGO_ADMIN_PASSWORD}}"
                    },
                    "DJANGO_ADMIN_USERNAME": {
                      "isOptional": false,
                      "description": "Generated administrator username.",
                      "defaultValue": "admin"
                    },
                    "ACCOUNT_EMAIL_VERIFICATION": {
                      "isOptional": false,
                      "description": "Avoids unusable email verification without SMTP.",
                      "defaultValue": "none"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {
                        "port": 80
                      }
                    }
                  },
                  "volumeMounts": {
                    "342c8c0b-b291-472a-991d-747ca67165e5": {
                      "sizeMB": 5000,
                      "mountPath": "/code/media"
                    }
                  }
                },
                "503ca571-dba1-4b91-b123-ac7a2b486dc2": {
                  "icon": null,
                  "name": "AdventureLog Frontend",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 600,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/seanmorley15/adventurelog-frontend:v0.12.1@sha256:edd79220f0def1dbea5b5d56636621f6cfdb454db9c00a8ce436a8ab489c5e99"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Public frontend listener.",
                      "defaultValue": "3000"
                    },
                    "ORIGIN": {
                      "isOptional": false,
                      "description": "Canonical public frontend origin.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "BODY_SIZE_LIMIT": {
                      "isOptional": false,
                      "description": "Allows AdventureLog's configured upload sizes.",
                      "defaultValue": "Infinity"
                    },
                    "PUBLIC_SERVER_URL": {
                      "isOptional": false,
                      "description": "Private backend endpoint used by the frontend server.",
                      "defaultValue": "http://${{AdventureLog Backend.RAILWAY_PRIVATE_DOMAIN}}:8000"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {
                        "port": 3000
                      }
                    }
                  },
                  "volumeMounts": {}
                },
                "5152c3de-9629-4dac-93b1-d3f77def545d": {
                  "icon": null,
                  "name": "AdventureLog PostGIS",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": null,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "postgis/postgis:16-3.5-alpine@sha256:b193e996618e9e632e2c6e268462b350c28a9c871cb0352b32905fc01e0299bd"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Database directory below the volume root.",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "AdventureLog database.",
                      "defaultValue": "adventurelog"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "AdventureLog database user.",
                      "defaultValue": "adventurelog"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated database password.",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "5152c3de-9629-4dac-93b1-d3f77def545d": {
                      "sizeMB": 5000,
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "AdventureLog Backend",
      "method": "GET",
      "path": "/",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 3,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T10:14:45.332Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-04T23:59:21.615Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_69af2afce8b94115b6d4",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 147,
    "typical_build_seconds": 0,
    "typical_start_seconds": 50,
    "slowest_service": "AdventureLog Backend"
  }
}
