{
  "manifest_version": "1.0.0",
  "template": {
    "id": "3196d12a-539b-40cf-9ce1-cb460f2ada10",
    "slug": "mediacms-video",
    "name": "MediaCMS",
    "description": "Video and media portal for uploading, encoding and streaming",
    "url": "https://railway.com/deploy/mediacms-video",
    "upstream": {
      "image": "axllent/mailpit:latest"
    }
  },
  "services": [
    {
      "name": "mailpit",
      "source": {
        "image": "axllent/mailpit:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    },
    {
      "name": "mediacms",
      "source": {
        "repo": "https://github.com/gridalpha/mediacms-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/home/mediacms.io/mediacms/media_files",
      "http": true
    },
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "mailpit",
      "description": "Port the inbox web UI listens on",
      "secret": false,
      "strategy": "default",
      "default": "8025"
    },
    {
      "key": "MP_UI_AUTH",
      "service": "mailpit",
      "description": "Username and password 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": "MP_MAX_MESSAGES",
      "service": "mailpit",
      "description": "Messages retained before rotation",
      "secret": false,
      "strategy": "default",
      "default": "5000"
    },
    {
      "key": "MP_UI_BIND_ADDR",
      "service": "mailpit",
      "description": "Dual-stack bind for the web UI",
      "secret": false,
      "strategy": "default",
      "default": "[::]:8025"
    },
    {
      "key": "MP_SMTP_BIND_ADDR",
      "service": "mailpit",
      "description": "Dual-stack bind for SMTP",
      "secret": false,
      "strategy": "default",
      "default": "[::]:1025"
    },
    {
      "key": "MP_SMTP_MAX_RECIPIENTS",
      "service": "mailpit",
      "description": "Recipient cap per SMTP message",
      "secret": false,
      "strategy": "default",
      "default": "100"
    },
    {
      "key": "PORT",
      "service": "mediacms",
      "description": "Port nginx serves the portal on",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "LOG_LEVEL",
      "service": "mediacms",
      "description": "Application log verbosity",
      "secret": false,
      "strategy": "default",
      "default": "INFO"
    },
    {
      "key": "TIME_ZONE",
      "service": "mediacms",
      "description": "Timezone for dates and scheduling",
      "secret": false,
      "strategy": "default",
      "default": "UTC"
    },
    {
      "key": "ADMIN_USER",
      "service": "mediacms",
      "description": "First administrator username",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "EMAIL_HOST",
      "service": "mediacms",
      "description": "SMTP host for outgoing mail",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "EMAIL_PORT",
      "service": "mediacms",
      "description": "SMTP port",
      "secret": false,
      "strategy": "default",
      "default": "1025"
    },
    {
      "key": "SECRET_KEY",
      "service": "mediacms",
      "description": "Django signing key, must stay stable",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "ADMIN_EMAIL",
      "service": "mediacms",
      "description": "First administrator email address",
      "secret": false,
      "strategy": "default",
      "default": "admin@example.com"
    },
    {
      "key": "CAN_COMMENT",
      "service": "mediacms",
      "description": "Who may post comments",
      "secret": false,
      "strategy": "default",
      "default": "all"
    },
    {
      "key": "PORTAL_NAME",
      "service": "mediacms",
      "description": "Portal title and email prefix",
      "secret": false,
      "strategy": "default",
      "default": "MediaCMS"
    },
    {
      "key": "ENABLE_NGINX",
      "service": "mediacms",
      "description": "Run nginx as proxy and media server",
      "secret": false,
      "strategy": "default",
      "default": "yes"
    },
    {
      "key": "ENABLE_UWSGI",
      "service": "mediacms",
      "description": "Run the gunicorn application server",
      "secret": false,
      "strategy": "default",
      "default": "yes"
    },
    {
      "key": "CAN_ADD_MEDIA",
      "service": "mediacms",
      "description": "Who may upload media",
      "secret": false,
      "strategy": "default",
      "default": "all"
    },
    {
      "key": "DEFAULT_THEME",
      "service": "mediacms",
      "description": "light or dark interface",
      "secret": false,
      "strategy": "default",
      "default": "light"
    },
    {
      "key": "EMAIL_USE_TLS",
      "service": "mediacms",
      "description": "STARTTLS on the SMTP connection",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "FRONTEND_HOST",
      "service": "mediacms",
      "description": "Public URL used in links and email",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "POSTGRES_HOST",
      "service": "mediacms",
      "description": "Private Postgres hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_NAME",
      "service": "mediacms",
      "description": "Postgres database name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_PORT",
      "service": "mediacms",
      "description": "Postgres port",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_USER",
      "service": "mediacms",
      "description": "Postgres role",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ADMIN_PASSWORD",
      "service": "mediacms",
      "description": "First administrator password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "REDIS_LOCATION",
      "service": "mediacms",
      "description": "Celery broker and Django cache",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PORTAL_WORKFLOW",
      "service": "mediacms",
      "description": "Default visibility of new uploads",
      "secret": false,
      "strategy": "default",
      "default": "public"
    },
    {
      "key": "ADMIN_EMAIL_LIST",
      "service": "mediacms",
      "description": "Recipients of admin notifications",
      "secret": false,
      "strategy": "default",
      "default": "admin@example.com"
    },
    {
      "key": "GENERATE_SITEMAP",
      "service": "mediacms",
      "description": "Publish a sitemap.xml",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "ENABLE_MIGRATIONS",
      "service": "mediacms",
      "description": "Run migrations and first-admin setup",
      "secret": false,
      "strategy": "default",
      "default": "yes"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "mediacms",
      "description": "Postgres password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DEFAULT_FROM_EMAIL",
      "service": "mediacms",
      "description": "From address on outgoing mail",
      "secret": false,
      "strategy": "default",
      "default": "mediacms@example.com"
    },
    {
      "key": "ENABLE_CELERY_BEAT",
      "service": "mediacms",
      "description": "Run the periodic task scheduler",
      "secret": false,
      "strategy": "default",
      "default": "yes"
    },
    {
      "key": "ENABLE_CELERY_LONG",
      "service": "mediacms",
      "description": "Run the encoding worker pool",
      "secret": false,
      "strategy": "default",
      "default": "yes"
    },
    {
      "key": "ENABLE_CELERY_SHORT",
      "service": "mediacms",
      "description": "Run the short-task worker pool",
      "secret": false,
      "strategy": "default",
      "default": "yes"
    },
    {
      "key": "SECURE_HSTS_SECONDS",
      "service": "mediacms",
      "description": "HSTS max-age on secure requests",
      "secret": false,
      "strategy": "default",
      "default": "31536000"
    },
    {
      "key": "GLOBAL_LOGIN_REQUIRED",
      "service": "mediacms",
      "description": "Make the whole portal private",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "NGINX_WORKER_PROCESSES",
      "service": "mediacms",
      "description": "nginx workers, sized to the container",
      "secret": false,
      "strategy": "default",
      "default": "2"
    },
    {
      "key": "CELERY_LONG_CONCURRENCY",
      "service": "mediacms",
      "description": "Concurrent video transcodes",
      "secret": false,
      "strategy": "default",
      "default": "2"
    },
    {
      "key": "USERS_CAN_SELF_REGISTER",
      "service": "mediacms",
      "description": "Allow public account signup",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "CELERY_SHORT_CONCURRENCY",
      "service": "mediacms",
      "description": "Thumbnail and notification workers",
      "secret": false,
      "strategy": "default",
      "default": "4"
    },
    {
      "key": "USER_CAN_TRANSCRIBE_VIDEO",
      "service": "mediacms",
      "description": "Whisper subtitles, needs the full image",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "USERS_NEEDS_TO_BE_APPROVED",
      "service": "mediacms",
      "description": "Require admin approval per account",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "RAILWAY_HEALTHCHECK_TIMEOUT_SEC",
      "service": "mediacms",
      "description": "Startup window for the health check",
      "secret": false,
      "strategy": "default",
      "default": "600"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "mediacms",
      "description": "Graceful shutdown window",
      "secret": false,
      "strategy": "default",
      "default": "30"
    },
    {
      "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, read by the server",
      "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": "REDISHOST",
      "service": "Redis",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "Private connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "Redis",
      "description": "Data panel alias, not read by the server",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Auth password, read by the server",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "mediacms-video"
      }
    },
    "cli": "railway deploy --template mediacms-video",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "3196d12a-539b-40cf-9ce1-cb460f2ada10",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "027d052c-18ea-4812-8b6f-5b5df691148a": {
                  "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": "Port the inbox web UI listens on",
                      "defaultValue": "8025"
                    },
                    "MP_UI_AUTH": {
                      "isOptional": false,
                      "description": "Username and password for the inbox",
                      "defaultValue": "{{MP_UI_AUTH}}"
                    },
                    "MP_DATABASE": {
                      "isOptional": false,
                      "description": "Message store on the volume",
                      "defaultValue": "/data/mailpit.db"
                    },
                    "MP_MAX_MESSAGES": {
                      "isOptional": true,
                      "description": "Messages retained before rotation",
                      "defaultValue": "5000"
                    },
                    "MP_UI_BIND_ADDR": {
                      "isOptional": false,
                      "description": "Dual-stack bind for the web UI",
                      "defaultValue": "[::]:8025"
                    },
                    "MP_SMTP_BIND_ADDR": {
                      "isOptional": false,
                      "description": "Dual-stack bind for SMTP",
                      "defaultValue": "[::]:1025"
                    },
                    "MP_SMTP_MAX_RECIPIENTS": {
                      "isOptional": true,
                      "description": "Recipient cap per SMTP message",
                      "defaultValue": "100"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8025": {
                        "port": 8025
                      }
                    }
                  },
                  "volumeMounts": {
                    "027d052c-18ea-4812-8b6f-5b5df691148a": {
                      "mountPath": "/data"
                    }
                  }
                },
                "5481285c-ee83-4734-a266-466b3d4207a0": {
                  "icon": "https://cdn.jsdelivr.net/gh/mediacms-io/mediacms@main/static/favicons/apple-touch-icon.png",
                  "name": "mediacms",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/api/v1/media",
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/mediacms-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port nginx serves the portal on",
                      "defaultValue": "8080"
                    },
                    "LOG_LEVEL": {
                      "isOptional": true,
                      "description": "Application log verbosity",
                      "defaultValue": "INFO"
                    },
                    "TIME_ZONE": {
                      "isOptional": true,
                      "description": "Timezone for dates and scheduling",
                      "defaultValue": "UTC"
                    },
                    "ADMIN_USER": {
                      "isOptional": false,
                      "description": "First administrator username",
                      "defaultValue": "admin"
                    },
                    "EMAIL_HOST": {
                      "isOptional": false,
                      "description": "SMTP host for outgoing mail",
                      "defaultValue": "${{mailpit.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "EMAIL_PORT": {
                      "isOptional": false,
                      "description": "SMTP port",
                      "defaultValue": "1025"
                    },
                    "SECRET_KEY": {
                      "isOptional": false,
                      "description": "Django signing key, must stay stable",
                      "defaultValue": "{{SECRET_KEY}}"
                    },
                    "ADMIN_EMAIL": {
                      "isOptional": false,
                      "description": "First administrator email address",
                      "defaultValue": "admin@example.com"
                    },
                    "CAN_COMMENT": {
                      "isOptional": true,
                      "description": "Who may post comments",
                      "defaultValue": "all"
                    },
                    "PORTAL_NAME": {
                      "isOptional": false,
                      "description": "Portal title and email prefix",
                      "defaultValue": "MediaCMS"
                    },
                    "ENABLE_NGINX": {
                      "isOptional": false,
                      "description": "Run nginx as proxy and media server",
                      "defaultValue": "yes"
                    },
                    "ENABLE_UWSGI": {
                      "isOptional": false,
                      "description": "Run the gunicorn application server",
                      "defaultValue": "yes"
                    },
                    "CAN_ADD_MEDIA": {
                      "isOptional": true,
                      "description": "Who may upload media",
                      "defaultValue": "all"
                    },
                    "DEFAULT_THEME": {
                      "isOptional": true,
                      "description": "light or dark interface",
                      "defaultValue": "light"
                    },
                    "EMAIL_USE_TLS": {
                      "isOptional": false,
                      "description": "STARTTLS on the SMTP connection",
                      "defaultValue": "false"
                    },
                    "FRONTEND_HOST": {
                      "isOptional": false,
                      "description": "Public URL used in links and email",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "POSTGRES_HOST": {
                      "isOptional": false,
                      "description": "Private Postgres hostname",
                      "defaultValue": "${{Postgres.PGHOST}}"
                    },
                    "POSTGRES_NAME": {
                      "isOptional": false,
                      "description": "Postgres database name",
                      "defaultValue": "${{Postgres.PGDATABASE}}"
                    },
                    "POSTGRES_PORT": {
                      "isOptional": false,
                      "description": "Postgres port",
                      "defaultValue": "${{Postgres.PGPORT}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Postgres role",
                      "defaultValue": "${{Postgres.PGUSER}}"
                    },
                    "ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "First administrator password",
                      "defaultValue": "{{ADMIN_PASSWORD}}"
                    },
                    "REDIS_LOCATION": {
                      "isOptional": false,
                      "description": "Celery broker and Django cache",
                      "defaultValue": "${{Redis.REDIS_URL}}/1"
                    },
                    "EMAIL_HOST_USER": {
                      "isOptional": true,
                      "description": "SMTP username, blank for Mailpit",
                      "defaultValue": ""
                    },
                    "PORTAL_WORKFLOW": {
                      "isOptional": true,
                      "description": "Default visibility of new uploads",
                      "defaultValue": "public"
                    },
                    "ADMIN_EMAIL_LIST": {
                      "isOptional": false,
                      "description": "Recipients of admin notifications",
                      "defaultValue": "admin@example.com"
                    },
                    "GENERATE_SITEMAP": {
                      "isOptional": true,
                      "description": "Publish a sitemap.xml",
                      "defaultValue": "false"
                    },
                    "ENABLE_MIGRATIONS": {
                      "isOptional": false,
                      "description": "Run migrations and first-admin setup",
                      "defaultValue": "yes"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Postgres password",
                      "defaultValue": "${{Postgres.PGPASSWORD}}"
                    },
                    "DEFAULT_FROM_EMAIL": {
                      "isOptional": false,
                      "description": "From address on outgoing mail",
                      "defaultValue": "mediacms@example.com"
                    },
                    "ENABLE_CELERY_BEAT": {
                      "isOptional": false,
                      "description": "Run the periodic task scheduler",
                      "defaultValue": "yes"
                    },
                    "ENABLE_CELERY_LONG": {
                      "isOptional": false,
                      "description": "Run the encoding worker pool",
                      "defaultValue": "yes"
                    },
                    "PORTAL_DESCRIPTION": {
                      "isOptional": true,
                      "description": "Short tagline for listings",
                      "defaultValue": ""
                    },
                    "EMAIL_HOST_PASSWORD": {
                      "isOptional": true,
                      "description": "SMTP password, blank for Mailpit",
                      "defaultValue": ""
                    },
                    "ENABLE_CELERY_SHORT": {
                      "isOptional": false,
                      "description": "Run the short-task worker pool",
                      "defaultValue": "yes"
                    },
                    "SECURE_HSTS_SECONDS": {
                      "isOptional": false,
                      "description": "HSTS max-age on secure requests",
                      "defaultValue": "31536000"
                    },
                    "GLOBAL_LOGIN_REQUIRED": {
                      "isOptional": true,
                      "description": "Make the whole portal private",
                      "defaultValue": "false"
                    },
                    "NGINX_WORKER_PROCESSES": {
                      "isOptional": true,
                      "description": "nginx workers, sized to the container",
                      "defaultValue": "2"
                    },
                    "CELERY_LONG_CONCURRENCY": {
                      "isOptional": true,
                      "description": "Concurrent video transcodes",
                      "defaultValue": "2"
                    },
                    "USERS_CAN_SELF_REGISTER": {
                      "isOptional": true,
                      "description": "Allow public account signup",
                      "defaultValue": "true"
                    },
                    "CELERY_SHORT_CONCURRENCY": {
                      "isOptional": true,
                      "description": "Thumbnail and notification workers",
                      "defaultValue": "4"
                    },
                    "USER_CAN_TRANSCRIBE_VIDEO": {
                      "isOptional": true,
                      "description": "Whisper subtitles, needs the full image",
                      "defaultValue": "false"
                    },
                    "EXTRA_CSRF_TRUSTED_ORIGINS": {
                      "isOptional": true,
                      "description": "Extra origins for a custom domain",
                      "defaultValue": ""
                    },
                    "USERS_NEEDS_TO_BE_APPROVED": {
                      "isOptional": true,
                      "description": "Require admin approval per account",
                      "defaultValue": "false"
                    },
                    "RAILWAY_HEALTHCHECK_TIMEOUT_SEC": {
                      "isOptional": false,
                      "description": "Startup window for the health check",
                      "defaultValue": "600"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Graceful shutdown window",
                      "defaultValue": "30"
                    },
                    "ALLOWED_DOMAINS_FOR_USER_REGISTRATION": {
                      "isOptional": true,
                      "description": "Comma-separated signup allow-list",
                      "defaultValue": ""
                    },
                    "RESTRICTED_DOMAINS_FOR_USER_REGISTRATION": {
                      "isOptional": true,
                      "description": "Comma-separated signup deny-list",
                      "defaultValue": ""
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "5481285c-ee83-4734-a266-466b3d4207a0": {
                      "mountPath": "/home/mediacms.io/mediacms/media_files"
                    }
                  }
                },
                "b112a13a-57ab-4168-92f5-a7433d4e3770": {
                  "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, read by the server",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Clean shutdown window",
                      "defaultValue": "60"
                    }
                  },
                  "volumeMounts": {
                    "b112a13a-57ab-4168-92f5-a7433d4e3770": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "dde9a030-48ca-4857-af19-940e8db7b3fa": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/redis.svg",
                  "name": "Redis",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH\"",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "redis:8.2"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Private connection string",
                      "defaultValue": "redis://${{REDISUSER}}:${{REDIS_PASSWORD}}@${{REDISHOST}}:${{REDISPORT}}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Auth password, read by the server",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "dde9a030-48ca-4857-af19-940e8db7b3fa": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "mailpit",
      "method": "GET",
      "path": "/livez",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 4,
    "needs_volume": true
  },
  "generated_at": "2026-09-16T22:14:52.145Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-16T19:56:26.382Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_0cb98a928a9b4e879165",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 244,
    "typical_build_seconds": 172,
    "typical_start_seconds": 40,
    "slowest_service": "mediacms"
  }
}
