{
  "manifest_version": "1.0.0",
  "template": {
    "id": "cfcad9d2-3a10-462c-90e5-e45e0b973b0e",
    "slug": "deploy-doory-social-media-post-designer",
    "name": "Doory Social Graphics",
    "description": "Design social posts and stories with your team, export PNG or MP4",
    "url": "https://railway.com/deploy/deploy-doory-social-media-post-designer",
    "upstream": {
      "image": "ghcr.io/onepush-dev/doory:0.2.0"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Doory",
      "source": {
        "image": "ghcr.io/onepush-dev/doory:0.2.0"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/media",
      "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
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Doory",
      "description": "Port nginx listens on and Railway routes to (8080).",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "SITE_URL",
      "service": "Doory",
      "description": "Public HTTPS address of Doory, used in emails, CSRF checks and export URLs.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "CACHE_URL",
      "service": "Doory",
      "description": "Shared cache for all workers, stored in Postgres (dbcache).",
      "secret": false,
      "strategy": "default",
      "default": "dbcache://doory_cache"
    },
    {
      "key": "EMAIL_URL",
      "service": "Doory",
      "description": "SMTP server for emails; consolemail:// prints them to the log.",
      "secret": false,
      "strategy": "default",
      "default": "consolemail://"
    },
    {
      "key": "LOG_LEVEL",
      "service": "Doory",
      "description": "Log level of every Doory process.",
      "secret": false,
      "strategy": "default",
      "default": "INFO"
    },
    {
      "key": "MEDIA_ROOT",
      "service": "Doory",
      "description": "Uploads, fonts, audio and models; on the /app/media volume.",
      "secret": false,
      "strategy": "default",
      "default": "/app/media"
    },
    {
      "key": "NUM_PROXIES",
      "service": "Doory",
      "description": "Proxies in front of the API for rate limiting (the bundled nginx).",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "DATABASE_URL",
      "service": "Doory",
      "description": "Postgres connection string, referenced from the Postgres service.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SECURE_COOKIES",
      "service": "Doory",
      "description": "Send session and CSRF cookies over HTTPS only.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "WEB_CONCURRENCY",
      "service": "Doory",
      "description": "Gunicorn API workers (2).",
      "secret": false,
      "strategy": "default",
      "default": "2"
    },
    {
      "key": "DOORY_SYNC_AUDIO",
      "service": "Doory",
      "description": "Install the bundled CC0 music loops and sound effects.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "DOORY_SYNC_FONTS",
      "service": "Doory",
      "description": "Download the 100 most popular OFL fonts once on first start.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "DJANGO_SECRET_KEY",
      "service": "Doory",
      "description": "Django secret key, generated per deploy. Changing it signs everyone out and revokes MCP tokens.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DOORY_ADMIN_EMAIL",
      "service": "Doory",
      "description": "Email of the admin account created on first start.",
      "secret": false,
      "strategy": "default",
      "default": "admin@example.com"
    },
    {
      "key": "DOORY_SYNC_ELEMENTS",
      "service": "Doory",
      "description": "Install the 27k-element icon/illustration library on every start (off; ~130 MB).",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "EXPORT_STORAGE_ROOT",
      "service": "Doory",
      "description": "Scratch folder for server-side exports.",
      "secret": false,
      "strategy": "default",
      "default": "/app/exports"
    },
    {
      "key": "SECURE_SSL_REDIRECT",
      "service": "Doory",
      "description": "Off: Railway already forces HTTPS at the edge.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "CSRF_TRUSTED_ORIGINS",
      "service": "Doory",
      "description": "Origins allowed to submit forms; the Railway public URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "DJANGO_ALLOWED_HOSTS",
      "service": "Doory",
      "description": "Host names Django answers to: the Railway domain, localhost and Railway's healthcheck host.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "DOORY_ADMIN_PASSWORD",
      "service": "Doory",
      "description": "Password of the first admin account, generated per deploy. Only used when the account is created.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DOORY_SEED_TEMPLATES",
      "service": "Doory",
      "description": "Add the ten starter design templates (add-only).",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "EXPORT_RENDER_PAGE_URL",
      "service": "Doory",
      "description": "Headless render page used by server-side image export (local nginx).",
      "secret": false,
      "strategy": "default",
      "default": "http://127.0.0.1:8080/render.html"
    },
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Postgres data directory inside the volume.",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "PGHOST",
      "service": "Postgres",
      "description": "Private hostname of the database.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT",
      "service": "Postgres",
      "description": "Postgres port (5432).",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "PGUSER",
      "service": "Postgres",
      "description": "Database user (reference to POSTGRES_USER).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "Postgres",
      "description": "Database name (reference to POSTGRES_DB).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "Postgres",
      "description": "Database password (reference to the generated POSTGRES_PASSWORD).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Database created on first start (railway).",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "DATABASE_URL",
      "service": "Postgres",
      "description": "Private connection string other services reference.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "Superuser name (postgres).",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    },
    {
      "key": "SSL_CERT_DAYS",
      "service": "Postgres",
      "description": "Validity in days of the self-signed SSL certificate.",
      "secret": false,
      "strategy": "default",
      "default": "820"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "Superuser password, generated per deploy.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Seconds Postgres gets to shut down cleanly on redeploy.",
      "secret": false,
      "strategy": "default",
      "default": "60"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "deploy-doory-social-media-post-designer"
      }
    },
    "cli": "railway deploy --template deploy-doory-social-media-post-designer",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "cfcad9d2-3a10-462c-90e5-e45e0b973b0e",
            "serializedConfig": {
              "services": {
                "36e2bbaf-fcf4-47be-a8d4-10c58a30a76a": {
                  "icon": "https://github.com/shaongitbd.png",
                  "name": "Doory",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/api/v1/health/",
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/onepush-dev/doory:0.2.0"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port nginx listens on and Railway routes to (8080).",
                      "defaultValue": "8080"
                    },
                    "SITE_URL": {
                      "isOptional": false,
                      "description": "Public HTTPS address of Doory, used in emails, CSRF checks and export URLs.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "CACHE_URL": {
                      "isOptional": false,
                      "description": "Shared cache for all workers, stored in Postgres (dbcache).",
                      "defaultValue": "dbcache://doory_cache"
                    },
                    "EMAIL_URL": {
                      "isOptional": false,
                      "description": "SMTP server for emails; consolemail:// prints them to the log.",
                      "defaultValue": "consolemail://"
                    },
                    "LOG_LEVEL": {
                      "isOptional": false,
                      "description": "Log level of every Doory process.",
                      "defaultValue": "INFO"
                    },
                    "MEDIA_ROOT": {
                      "isOptional": false,
                      "description": "Uploads, fonts, audio and models; on the /app/media volume.",
                      "defaultValue": "/app/media"
                    },
                    "NUM_PROXIES": {
                      "isOptional": false,
                      "description": "Proxies in front of the API for rate limiting (the bundled nginx).",
                      "defaultValue": "1"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Postgres connection string, referenced from the Postgres service.",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "SECURE_COOKIES": {
                      "isOptional": false,
                      "description": "Send session and CSRF cookies over HTTPS only.",
                      "defaultValue": "true"
                    },
                    "WEB_CONCURRENCY": {
                      "isOptional": false,
                      "description": "Gunicorn API workers (2).",
                      "defaultValue": "2"
                    },
                    "DOORY_SYNC_AUDIO": {
                      "isOptional": false,
                      "description": "Install the bundled CC0 music loops and sound effects.",
                      "defaultValue": "true"
                    },
                    "DOORY_SYNC_FONTS": {
                      "isOptional": false,
                      "description": "Download the 100 most popular OFL fonts once on first start.",
                      "defaultValue": "true"
                    },
                    "DJANGO_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Django secret key, generated per deploy. Changing it signs everyone out and revokes MCP tokens.",
                      "defaultValue": "{{DJANGO_SECRET_KEY}}"
                    },
                    "DOORY_ADMIN_EMAIL": {
                      "isOptional": false,
                      "description": "Email of the admin account created on first start.",
                      "defaultValue": "admin@example.com"
                    },
                    "DOORY_SYNC_ELEMENTS": {
                      "isOptional": false,
                      "description": "Install the 27k-element icon/illustration library on every start (off; ~130 MB).",
                      "defaultValue": "false"
                    },
                    "EXPORT_STORAGE_ROOT": {
                      "isOptional": false,
                      "description": "Scratch folder for server-side exports.",
                      "defaultValue": "/app/exports"
                    },
                    "SECURE_SSL_REDIRECT": {
                      "isOptional": false,
                      "description": "Off: Railway already forces HTTPS at the edge.",
                      "defaultValue": "false"
                    },
                    "CSRF_TRUSTED_ORIGINS": {
                      "isOptional": false,
                      "description": "Origins allowed to submit forms; the Railway public URL.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "DJANGO_ALLOWED_HOSTS": {
                      "isOptional": false,
                      "description": "Host names Django answers to: the Railway domain, localhost and Railway's healthcheck host.",
                      "defaultValue": "${{RAILWAY_PUBLIC_DOMAIN}},localhost,127.0.0.1,healthcheck.railway.app"
                    },
                    "DOORY_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Password of the first admin account, generated per deploy. Only used when the account is created.",
                      "defaultValue": "{{DOORY_ADMIN_PASSWORD}}"
                    },
                    "DOORY_SEED_TEMPLATES": {
                      "isOptional": false,
                      "description": "Add the ten starter design templates (add-only).",
                      "defaultValue": "true"
                    },
                    "EXPORT_RENDER_PAGE_URL": {
                      "isOptional": false,
                      "description": "Headless render page used by server-side image export (local nginx).",
                      "defaultValue": "http://127.0.0.1:8080/render.html"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "36e2bbaf-fcf4-47be-a8d4-10c58a30a76a": {
                      "mountPath": "/app/media"
                    }
                  }
                },
                "c805400e-d876-4a6a-9694-1303ce881352": {
                  "icon": "https://devicons.railway.app/i/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": "Postgres data directory inside the volume.",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Private hostname of the database.",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "Postgres port (5432).",
                      "defaultValue": "5432"
                    },
                    "PGUSER": {
                      "isOptional": false,
                      "description": "Database user (reference to POSTGRES_USER).",
                      "defaultValue": "${{POSTGRES_USER}}"
                    },
                    "PGDATABASE": {
                      "isOptional": false,
                      "description": "Database name (reference to POSTGRES_DB).",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "Database password (reference to the generated POSTGRES_PASSWORD).",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Database created on first start (railway).",
                      "defaultValue": "railway"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Private connection string other services reference.",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Superuser name (postgres).",
                      "defaultValue": "postgres"
                    },
                    "SSL_CERT_DAYS": {
                      "isOptional": false,
                      "description": "Validity in days of the self-signed SSL certificate.",
                      "defaultValue": "820"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Superuser password, generated per deploy.",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Seconds Postgres gets to shut down cleanly on redeploy.",
                      "defaultValue": "60"
                    }
                  },
                  "volumeMounts": {
                    "c805400e-d876-4a6a-9694-1303ce881352": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Doory",
      "method": "GET",
      "path": "/api/v1/health/",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-10-31T04:14:55.520Z",
  "generator_version": "0.1.0"
}
