{
  "manifest_version": "1.0.0",
  "template": {
    "id": "635a4ec0-d0c3-4ad7-8a1f-2a80a0333295",
    "slug": "deploy-lemmy",
    "name": "Lemmy",
    "description": "Link aggregator and discussion forum that talks to the fediverse",
    "url": "https://railway.com/deploy/deploy-lemmy",
    "upstream": {
      "repo_url": "https://github.com/gridalpha/lemmy-railway"
    }
  },
  "services": [
    {
      "name": "lemmy",
      "source": {
        "repo": "https://github.com/gridalpha/lemmy-railway"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "lemmy-ui",
      "source": {
        "image": "dessalines/lemmy-ui:0.19.20"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "pictrs",
      "source": {
        "image": "asonix/pictrs:0.5"
      },
      "needs_volume": true,
      "volume_mount_path": "/mnt",
      "http": false
    },
    {
      "name": "proxy",
      "source": {
        "repo": "https://github.com/gridalpha/lemmy-railway"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "mailpit",
      "source": {
        "image": "axllent/mailpit:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "lemmy",
      "description": "Port Railway health-checks",
      "secret": false,
      "strategy": "default",
      "default": "8536"
    },
    {
      "key": "RUST_LOG",
      "service": "lemmy",
      "description": "Log verbosity",
      "secret": false,
      "strategy": "default",
      "default": "warn,lemmy_server=info,lemmy_api=info,lemmy_apub=info,lemmy_routes=info"
    },
    {
      "key": "LEMMY_BIND",
      "service": "lemmy",
      "description": "Listen address, dual-stack relayed",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0"
    },
    {
      "key": "LEMMY_PORT",
      "service": "lemmy",
      "description": "API listen port",
      "secret": false,
      "strategy": "default",
      "default": "8536"
    },
    {
      "key": "PRIVATE_HOST",
      "service": "lemmy",
      "description": "Private address peers dial",
      "secret": false,
      "strategy": "default",
      "default": "lemmy.railway.internal:8536"
    },
    {
      "key": "LEMMY_HOSTNAME",
      "service": "lemmy",
      "description": "Public domain, permanent after setup",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "LEMMY_POOL_SIZE",
      "service": "lemmy",
      "description": "Maximum SQL connections",
      "secret": false,
      "strategy": "default",
      "default": "15"
    },
    {
      "key": "LEMMY_PICTRS_URL",
      "service": "lemmy",
      "description": "Image server address",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "LEMMY_SMTP_SERVER",
      "service": "lemmy",
      "description": "Outgoing SMTP host and port",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "LEMMY_TLS_ENABLED",
      "service": "lemmy",
      "description": "Emit https URLs, required for federation",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "LEMMY_DATABASE_URL",
      "service": "lemmy",
      "description": "Postgres connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "LEMMY_SMTP_TLS_TYPE",
      "service": "lemmy",
      "description": "none, tls or starttls",
      "secret": false,
      "strategy": "default",
      "default": "none"
    },
    {
      "key": "LEMMY_PICTRS_API_KEY",
      "service": "lemmy",
      "description": "Shared image-server key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "LEMMY_SETUP_SITE_NAME",
      "service": "lemmy",
      "description": "Instance name, 20 characters max",
      "secret": false,
      "strategy": "default",
      "default": "Lemmy"
    },
    {
      "key": "LEMMY_PICTRS_IMAGE_MODE",
      "service": "lemmy",
      "description": "Remote thumbnail handling",
      "secret": false,
      "strategy": "default",
      "default": "StoreLinkPreviews"
    },
    {
      "key": "LEMMY_SETUP_ADMIN_EMAIL",
      "service": "lemmy",
      "description": "First administrator email",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "lemmy",
      "description": "Dockerfile inside the source repo",
      "secret": false,
      "strategy": "default",
      "default": "lemmy/Dockerfile"
    },
    {
      "key": "LEMMY_SETUP_ADMIN_PASSWORD",
      "service": "lemmy",
      "description": "First administrator password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "LEMMY_SETUP_ADMIN_USERNAME",
      "service": "lemmy",
      "description": "First administrator username",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "PORT",
      "service": "lemmy-ui",
      "description": "Port Railway health-checks",
      "secret": false,
      "strategy": "default",
      "default": "1234"
    },
    {
      "key": "LEMMY_UI_HOST",
      "service": "lemmy-ui",
      "description": "Empty host binds dual-stack",
      "secret": false,
      "strategy": "default",
      "default": ":1234"
    },
    {
      "key": "LEMMY_UI_HTTPS",
      "service": "lemmy-ui",
      "description": "Build https links server-side",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "LEMMY_UI_LEMMY_EXTERNAL_HOST",
      "service": "lemmy-ui",
      "description": "Public host the browser calls",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "LEMMY_UI_LEMMY_INTERNAL_HOST",
      "service": "lemmy-ui",
      "description": "Backend address over private network",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Cluster location on the volume",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "PGHOST",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "PGUSER",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Database created on first boot",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "DATABASE_URL",
      "service": "Postgres",
      "description": "Private connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "Superuser created on first boot",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    },
    {
      "key": "SSL_CERT_DAYS",
      "service": "Postgres",
      "description": "SSL certificate expiry in days",
      "secret": false,
      "strategy": "default",
      "default": "820"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "Superuser password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Clean shutdown window",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "PORT",
      "service": "pictrs",
      "description": "Container port",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "PRIVATE_URL",
      "service": "pictrs",
      "description": "Address Lemmy calls",
      "secret": false,
      "strategy": "default",
      "default": "http://pictrs.railway.internal:8080/"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "pictrs",
      "description": "Run as root so the volume is writable",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "PICTRS__REPO__PATH",
      "service": "pictrs",
      "description": "Metadata location on the volume",
      "secret": false,
      "strategy": "default",
      "default": "/mnt/sled-repo"
    },
    {
      "key": "PICTRS__REPO__TYPE",
      "service": "pictrs",
      "description": "Metadata backend",
      "secret": false,
      "strategy": "default",
      "default": "sled"
    },
    {
      "key": "PICTRS__STORE__PATH",
      "service": "pictrs",
      "description": "Image location on the volume",
      "secret": false,
      "strategy": "default",
      "default": "/mnt/files"
    },
    {
      "key": "PICTRS__STORE__TYPE",
      "service": "pictrs",
      "description": "Image storage backend",
      "secret": false,
      "strategy": "default",
      "default": "filesystem"
    },
    {
      "key": "PICTRS__OLD_REPO__PATH",
      "service": "pictrs",
      "description": "Upgrade path from older layouts",
      "secret": false,
      "strategy": "default",
      "default": "/mnt/sled-repo"
    },
    {
      "key": "PICTRS__SERVER__ADDRESS",
      "service": "pictrs",
      "description": "IPv6 bind, reachable from peers",
      "secret": false,
      "strategy": "default",
      "default": "[::]:8080"
    },
    {
      "key": "PICTRS__SERVER__API_KEY",
      "service": "pictrs",
      "description": "Internal API key",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "PICTRS__SERVER__TEMPORARY_DIRECTORY",
      "service": "pictrs",
      "description": "Scratch directory on the volume",
      "secret": false,
      "strategy": "default",
      "default": "/mnt/tmp"
    },
    {
      "key": "PORT",
      "service": "proxy",
      "description": "Public listen port",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "LEMMY_UI",
      "service": "proxy",
      "description": "Web UI upstream",
      "secret": false,
      "strategy": "default",
      "default": "lemmy-ui.railway.internal:1234"
    },
    {
      "key": "LEMMY_BACKEND",
      "service": "proxy",
      "description": "API upstream",
      "secret": false,
      "strategy": "default",
      "default": "lemmy.railway.internal:8536"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "proxy",
      "description": "Dockerfile inside the source repo",
      "secret": false,
      "strategy": "default",
      "default": "proxy/Dockerfile"
    },
    {
      "key": "PORT",
      "service": "mailpit",
      "description": "Web inbox port",
      "secret": false,
      "strategy": "default",
      "default": "8025"
    },
    {
      "key": "MP_UI_AUTH",
      "service": "mailpit",
      "description": "Basic auth for the inbox",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "MP_DATABASE",
      "service": "mailpit",
      "description": "Message store on the volume",
      "secret": false,
      "strategy": "default",
      "default": "/data/mailpit.db"
    },
    {
      "key": "PRIVATE_SMTP",
      "service": "mailpit",
      "description": "Address Lemmy sends through",
      "secret": false,
      "strategy": "default",
      "default": "mailpit.railway.internal:1025"
    },
    {
      "key": "MP_MAX_MESSAGES",
      "service": "mailpit",
      "description": "Messages kept before rotation",
      "secret": false,
      "strategy": "default",
      "default": "5000"
    },
    {
      "key": "MP_UI_BIND_ADDR",
      "service": "mailpit",
      "description": "Web inbox bind",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0:8025"
    },
    {
      "key": "MP_SMTP_BIND_ADDR",
      "service": "mailpit",
      "description": "SMTP bind, reachable from peers",
      "secret": false,
      "strategy": "default",
      "default": "[::]:1025"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "deploy-lemmy"
      }
    },
    "cli": "railway deploy --template deploy-lemmy",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "635a4ec0-d0c3-4ad7-8a1f-2a80a0333295",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "5989b5b9-3e8e-48ed-9e2b-58b4104e6975": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/lemmy.svg",
                  "name": "lemmy",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/api/v3/site",
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/lemmy-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port Railway health-checks",
                      "defaultValue": "8536"
                    },
                    "RUST_LOG": {
                      "isOptional": false,
                      "description": "Log verbosity",
                      "defaultValue": "warn,lemmy_server=info,lemmy_api=info,lemmy_apub=info,lemmy_routes=info"
                    },
                    "LEMMY_BIND": {
                      "isOptional": false,
                      "description": "Listen address, dual-stack relayed",
                      "defaultValue": "0.0.0.0"
                    },
                    "LEMMY_PORT": {
                      "isOptional": false,
                      "description": "API listen port",
                      "defaultValue": "8536"
                    },
                    "PRIVATE_HOST": {
                      "isOptional": false,
                      "description": "Private address peers dial",
                      "defaultValue": "lemmy.railway.internal:8536"
                    },
                    "LEMMY_HOSTNAME": {
                      "isOptional": false,
                      "description": "Public domain, permanent after setup",
                      "defaultValue": "${{proxy.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "LEMMY_POOL_SIZE": {
                      "isOptional": false,
                      "description": "Maximum SQL connections",
                      "defaultValue": "15"
                    },
                    "LEMMY_PICTRS_URL": {
                      "isOptional": false,
                      "description": "Image server address",
                      "defaultValue": "${{pictrs.PRIVATE_URL}}"
                    },
                    "LEMMY_SMTP_SERVER": {
                      "isOptional": false,
                      "description": "Outgoing SMTP host and port",
                      "defaultValue": "${{mailpit.PRIVATE_SMTP}}"
                    },
                    "LEMMY_TLS_ENABLED": {
                      "isOptional": false,
                      "description": "Emit https URLs, required for federation",
                      "defaultValue": "true"
                    },
                    "LEMMY_DATABASE_URL": {
                      "isOptional": false,
                      "description": "Postgres connection string",
                      "defaultValue": "${{Postgres.DATABASE_URL}}?sslmode=require"
                    },
                    "LEMMY_SMTP_TLS_TYPE": {
                      "isOptional": false,
                      "description": "none, tls or starttls",
                      "defaultValue": "none"
                    },
                    "LEMMY_PICTRS_API_KEY": {
                      "isOptional": false,
                      "description": "Shared image-server key",
                      "defaultValue": "${{pictrs.PICTRS__SERVER__API_KEY}}"
                    },
                    "LEMMY_SETUP_SITE_NAME": {
                      "isOptional": false,
                      "description": "Instance name, 20 characters max",
                      "defaultValue": "Lemmy"
                    },
                    "LEMMY_PICTRS_IMAGE_MODE": {
                      "isOptional": false,
                      "description": "Remote thumbnail handling",
                      "defaultValue": "StoreLinkPreviews"
                    },
                    "LEMMY_SETUP_ADMIN_EMAIL": {
                      "isOptional": false,
                      "description": "First administrator email",
                      "defaultValue": "admin@${{proxy.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Dockerfile inside the source repo",
                      "defaultValue": "lemmy/Dockerfile"
                    },
                    "LEMMY_SETUP_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "First administrator password",
                      "defaultValue": "{{LEMMY_SETUP_ADMIN_PASSWORD}}"
                    },
                    "LEMMY_SETUP_ADMIN_USERNAME": {
                      "isOptional": false,
                      "description": "First administrator username",
                      "defaultValue": "admin"
                    }
                  }
                },
                "5ab35982-de9a-4b1e-b1c9-6b04d5865039": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/lemmy.svg",
                  "name": "lemmy-ui",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/css/themelist",
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "dessalines/lemmy-ui:0.19.20"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port Railway health-checks",
                      "defaultValue": "1234"
                    },
                    "LEMMY_UI_HOST": {
                      "isOptional": false,
                      "description": "Empty host binds dual-stack",
                      "defaultValue": ":1234"
                    },
                    "LEMMY_UI_HTTPS": {
                      "isOptional": false,
                      "description": "Build https links server-side",
                      "defaultValue": "true"
                    },
                    "LEMMY_UI_LEMMY_EXTERNAL_HOST": {
                      "isOptional": false,
                      "description": "Public host the browser calls",
                      "defaultValue": "${{proxy.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "LEMMY_UI_LEMMY_INTERNAL_HOST": {
                      "isOptional": false,
                      "description": "Backend address over private network",
                      "defaultValue": "${{lemmy.PRIVATE_HOST}}"
                    }
                  }
                },
                "636659f3-0fdd-4a84-82ff-571d39515999": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/postgresql.svg",
                  "name": "Postgres",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Cluster location on the volume",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "5432"
                    },
                    "PGUSER": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{POSTGRES_USER}}"
                    },
                    "PGDATABASE": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Database created on first boot",
                      "defaultValue": "railway"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Private connection string",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Superuser created on first boot",
                      "defaultValue": "postgres"
                    },
                    "SSL_CERT_DAYS": {
                      "isOptional": false,
                      "description": "SSL certificate expiry in days",
                      "defaultValue": "820"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Superuser password",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Clean shutdown window",
                      "defaultValue": "60"
                    }
                  },
                  "volumeMounts": {
                    "636659f3-0fdd-4a84-82ff-571d39515999": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "83d8e337-5bd0-4dd7-99da-18c2c89a6169": {
                  "icon": null,
                  "name": "pictrs",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "asonix/pictrs:0.5"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Container port",
                      "defaultValue": "8080"
                    },
                    "PRIVATE_URL": {
                      "isOptional": false,
                      "description": "Address Lemmy calls",
                      "defaultValue": "http://pictrs.railway.internal:8080/"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "Run as root so the volume is writable",
                      "defaultValue": "0"
                    },
                    "PICTRS__REPO__PATH": {
                      "isOptional": false,
                      "description": "Metadata location on the volume",
                      "defaultValue": "/mnt/sled-repo"
                    },
                    "PICTRS__REPO__TYPE": {
                      "isOptional": false,
                      "description": "Metadata backend",
                      "defaultValue": "sled"
                    },
                    "PICTRS__STORE__PATH": {
                      "isOptional": false,
                      "description": "Image location on the volume",
                      "defaultValue": "/mnt/files"
                    },
                    "PICTRS__STORE__TYPE": {
                      "isOptional": false,
                      "description": "Image storage backend",
                      "defaultValue": "filesystem"
                    },
                    "PICTRS__OLD_REPO__PATH": {
                      "isOptional": false,
                      "description": "Upgrade path from older layouts",
                      "defaultValue": "/mnt/sled-repo"
                    },
                    "PICTRS__SERVER__ADDRESS": {
                      "isOptional": false,
                      "description": "IPv6 bind, reachable from peers",
                      "defaultValue": "[::]:8080"
                    },
                    "PICTRS__SERVER__API_KEY": {
                      "isOptional": false,
                      "description": "Internal API key",
                      "defaultValue": "{{PICTRS__SERVER__API_KEY}}"
                    },
                    "PICTRS__SERVER__TEMPORARY_DIRECTORY": {
                      "isOptional": false,
                      "description": "Scratch directory on the volume",
                      "defaultValue": "/mnt/tmp"
                    }
                  },
                  "volumeMounts": {
                    "83d8e337-5bd0-4dd7-99da-18c2c89a6169": {
                      "mountPath": "/mnt"
                    }
                  }
                },
                "e5694d78-3a8b-48f3-b288-e26ca4895ed1": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/caddy.svg",
                  "name": "proxy",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/lemmy-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Public listen port",
                      "defaultValue": "8080"
                    },
                    "LEMMY_UI": {
                      "isOptional": false,
                      "description": "Web UI upstream",
                      "defaultValue": "lemmy-ui.railway.internal:1234"
                    },
                    "LEMMY_BACKEND": {
                      "isOptional": false,
                      "description": "API upstream",
                      "defaultValue": "lemmy.railway.internal:8536"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Dockerfile inside the source repo",
                      "defaultValue": "proxy/Dockerfile"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                },
                "fe0000e0-41f7-45d5-921d-732124e3ebad": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/mailpit.svg",
                  "name": "mailpit",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/livez",
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "axllent/mailpit:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Web inbox port",
                      "defaultValue": "8025"
                    },
                    "MP_UI_AUTH": {
                      "isOptional": false,
                      "description": "Basic auth for the inbox",
                      "defaultValue": "{{MP_UI_AUTH}}"
                    },
                    "MP_DATABASE": {
                      "isOptional": false,
                      "description": "Message store on the volume",
                      "defaultValue": "/data/mailpit.db"
                    },
                    "PRIVATE_SMTP": {
                      "isOptional": false,
                      "description": "Address Lemmy sends through",
                      "defaultValue": "mailpit.railway.internal:1025"
                    },
                    "MP_MAX_MESSAGES": {
                      "isOptional": false,
                      "description": "Messages kept before rotation",
                      "defaultValue": "5000"
                    },
                    "MP_UI_BIND_ADDR": {
                      "isOptional": false,
                      "description": "Web inbox bind",
                      "defaultValue": "0.0.0.0:8025"
                    },
                    "MP_SMTP_BIND_ADDR": {
                      "isOptional": false,
                      "description": "SMTP bind, reachable from peers",
                      "defaultValue": "[::]:1025"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8025": {
                        "port": 8025
                      }
                    }
                  },
                  "volumeMounts": {
                    "fe0000e0-41f7-45d5-921d-732124e3ebad": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "proxy",
      "method": "GET",
      "path": "/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 6,
    "needs_volume": true
  },
  "generated_at": "2026-09-22T22:14:50.114Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-21T19:46:06.540Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_57682f27dce248989ec8",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 126,
    "typical_build_seconds": 0,
    "typical_start_seconds": 11,
    "slowest_service": "lemmy-ui"
  }
}
