{
  "manifest_version": "1.0.0",
  "template": {
    "id": "508f654d-eb0f-4b85-b1e0-f7d2765c72fc",
    "slug": "postiz-with-temporal",
    "name": "Postiz",
    "description": "Self-Host Postiz (Temporal). Schedule posts in 30+ social platforms with AI",
    "url": "https://railway.com/deploy/postiz-with-temporal",
    "upstream": {
      "image": "ghcr.io/gitroomhq/postiz-app:latest"
    }
  },
  "services": [
    {
      "name": "postiz_postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:17"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "temporal_server",
      "source": {
        "image": "temporalio/auto-setup"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "temporal-postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:17"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "postiz-app",
      "source": {
        "image": "ghcr.io/gitroomhq/postiz-app:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/uploads",
      "http": true
    },
    {
      "name": "elasticsearch-railway",
      "source": {
        "repo": "https://github.com/praveen-ks-2001/elasticsearch-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/esdata",
      "http": false
    },
    {
      "name": "temporal-ui",
      "source": {
        "image": "temporalio/ui"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "postiz_redis",
      "source": {
        "image": "redis:8.2.1"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "temporal-admin-tools",
      "source": {
        "image": "temporalio/admin-tools"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PGDATA",
      "service": "postiz_postgres",
      "description": "Postgres data storage directory",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "PGHOST",
      "service": "postiz_postgres",
      "description": "Internal Postgres service hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT",
      "service": "postiz_postgres",
      "description": "Default Postgres database port",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "PGUSER",
      "service": "postiz_postgres",
      "description": "Database username for connections",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "postiz_postgres",
      "description": "Default database name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "postiz_postgres",
      "description": "Password for Postgres authentication",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "postiz_postgres",
      "description": "Postiz application database",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "DATABASE_URL",
      "service": "postiz_postgres",
      "description": "Internal Postgres connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_USER",
      "service": "postiz_postgres",
      "description": "Postgres admin username",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    },
    {
      "key": "SSL_CERT_DAYS",
      "service": "postiz_postgres",
      "description": "SSL certificate validity duration",
      "secret": false,
      "strategy": "default",
      "default": "820"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "postiz_postgres",
      "description": "Password for Postiz Postgres user",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DATABASE_PUBLIC_URL",
      "service": "postiz_postgres",
      "description": "External Postgres connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "postiz_postgres",
      "description": "Graceful shutdown waiting time",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "DB",
      "service": "temporal_server",
      "description": "Database driver used by Temporal",
      "secret": false,
      "strategy": "default",
      "default": "postgres12"
    },
    {
      "key": "ES_PWD",
      "service": "temporal_server",
      "description": "Elasticsearch authentication password",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_PORT",
      "service": "temporal_server",
      "description": "Postgres database port",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "ES_PORT",
      "service": "temporal_server",
      "description": "Elasticsearch service port",
      "secret": false,
      "strategy": "default",
      "default": "9200"
    },
    {
      "key": "ES_USER",
      "service": "temporal_server",
      "description": "Elasticsearch username",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ES_SEEDS",
      "service": "temporal_server",
      "description": "Elasticsearch host address",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "ENABLE_ES",
      "service": "temporal_server",
      "description": "Enable Elasticsearch visibility backend",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "ES_SCHEME",
      "service": "temporal_server",
      "description": "Elasticsearch connection protocol",
      "secret": false,
      "strategy": "default",
      "default": "http"
    },
    {
      "key": "BIND_ON_IP",
      "service": "temporal_server",
      "description": "Bind Temporal server on all interfaces",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0"
    },
    {
      "key": "ES_VERSION",
      "service": "temporal_server",
      "description": "Elasticsearch API version compatibility",
      "secret": false,
      "strategy": "default",
      "default": "v7"
    },
    {
      "key": "POSTGRES_PWD",
      "service": "temporal_server",
      "description": "Password for Temporal Postgres",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_USER",
      "service": "temporal_server",
      "description": "Username for Temporal Postgres",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_SEEDS",
      "service": "temporal_server",
      "description": "Postgres host for Temporal",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "TEMPORAL_ADDRESS",
      "service": "temporal_server",
      "description": "Local Temporal service address",
      "secret": false,
      "strategy": "default",
      "default": "127.0.0.1:7233"
    },
    {
      "key": "DEFAULT_NAMESPACE",
      "service": "temporal_server",
      "description": "Namespace created at startup",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "TEMPORAL_NAMESPACE",
      "service": "temporal_server",
      "description": "Default workflow namespace",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "TEMPORAL_BROADCAST_ADDRESS",
      "service": "temporal_server",
      "description": "Broadcast address for cluster nodes",
      "secret": false,
      "strategy": "default",
      "default": "127.0.0.1"
    },
    {
      "key": "SKIP_DEFAULT_NAMESPACE_CREATION",
      "service": "temporal_server",
      "description": "Create namespace automatically",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "PGDATA",
      "service": "temporal-postgres",
      "description": "Postgres data storage directory",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "PGHOST",
      "service": "temporal-postgres",
      "description": "Internal Postgres service hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT",
      "service": "temporal-postgres",
      "description": "Default Postgres database port",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "PGUSER",
      "service": "temporal-postgres",
      "description": "Database username for connections",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "temporal-postgres",
      "description": "Default database name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "temporal-postgres",
      "description": "Password for Postgres authentication",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "temporal-postgres",
      "description": "Temporal service database name",
      "secret": false,
      "strategy": "default",
      "default": "temporal"
    },
    {
      "key": "DATABASE_URL",
      "service": "temporal-postgres",
      "description": "Internal Postgres connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_USER",
      "service": "temporal-postgres",
      "description": "Temporal database username",
      "secret": false,
      "strategy": "default",
      "default": "temporal"
    },
    {
      "key": "SSL_CERT_DAYS",
      "service": "temporal-postgres",
      "description": "SSL certificate validity duration",
      "secret": false,
      "strategy": "default",
      "default": "820"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "temporal-postgres",
      "description": "Container runtime user ID",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "temporal-postgres",
      "description": "Password for Temporal Postgres user",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DATABASE_PUBLIC_URL",
      "service": "temporal-postgres",
      "description": "External Postgres connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "temporal-postgres",
      "description": "Graceful shutdown waiting time",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "PORT",
      "service": "postiz-app",
      "description": "HTTP server listening port",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "MAIN_URL",
      "service": "postiz-app",
      "description": "Primary public application URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "RUN_CRON",
      "service": "postiz-app",
      "description": "Enable scheduled background jobs",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "REDIS_URL",
      "service": "postiz-app",
      "description": "Redis connection for queues",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "IS_GENERAL",
      "service": "postiz-app",
      "description": "Enable general multi-user mode",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "JWT_SECRET",
      "service": "postiz-app",
      "description": "Secret for signing authentication tokens",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "NOT_SECURED",
      "service": "postiz-app",
      "description": "Disable strict security protections",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "DATABASE_URL",
      "service": "postiz-app",
      "description": "Postiz Postgres database connection",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "FRONTEND_URL",
      "service": "postiz-app",
      "description": "Public frontend interface URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "STORAGE_PROVIDER",
      "service": "postiz-app",
      "description": "Use local filesystem storage",
      "secret": false,
      "strategy": "default",
      "default": "local"
    },
    {
      "key": "TEMPORAL_ADDRESS",
      "service": "postiz-app",
      "description": "Temporal workflow service address",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "UPLOAD_DIRECTORY",
      "service": "postiz-app",
      "description": "Local directory storing uploaded files",
      "secret": false,
      "strategy": "default",
      "default": "/uploads"
    },
    {
      "key": "BACKEND_INTERNAL_URL",
      "service": "postiz-app",
      "description": "Internal backend service address",
      "secret": false,
      "strategy": "default",
      "default": "http://localhost:3000"
    },
    {
      "key": "DISABLE_REGISTRATION",
      "service": "postiz-app",
      "description": "Allow new user registrations",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "NEXT_PUBLIC_BACKEND_URL",
      "service": "postiz-app",
      "description": "Public backend API endpoint",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "NEXT_PUBLIC_UPLOAD_DIRECTORY",
      "service": "postiz-app",
      "description": "Public upload directory path",
      "secret": false,
      "strategy": "default",
      "default": "/uploads"
    },
    {
      "key": "PORT",
      "service": "elasticsearch-railway",
      "description": "Elasticsearch HTTP service port",
      "secret": false,
      "strategy": "default",
      "default": "9200"
    },
    {
      "key": "ES_JAVA_OPTS",
      "service": "elasticsearch-railway",
      "description": "JVM heap memory settings",
      "secret": false,
      "strategy": "default",
      "default": "-Xms256m -Xmx512m"
    },
    {
      "key": "ELASTIC_PASSWORD",
      "service": "elasticsearch-railway",
      "description": "Password for Elasticsearch authentication",
      "secret": true,
      "strategy": "default",
      "default": "1234"
    },
    {
      "key": "ELASTIC_USERNAME",
      "service": "elasticsearch-railway",
      "description": "Elasticsearch admin username",
      "secret": false,
      "strategy": "default",
      "default": "elastic"
    },
    {
      "key": "PORT",
      "service": "temporal-ui",
      "description": "Container HTTP listening port",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "TEMPORAL_ADDRESS",
      "service": "temporal-ui",
      "description": "Temporal server address for UI",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "TEMPORAL_UI_PORT",
      "service": "temporal-ui",
      "description": "Port Temporal UI runs on",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "TEMPORAL_CORS_ORIGINS",
      "service": "temporal-ui",
      "description": "Allowed CORS origins for UI",
      "secret": false,
      "strategy": "default",
      "default": "http://localhost:3000"
    },
    {
      "key": "REDISHOST",
      "service": "postiz_redis",
      "description": "Internal Redis service hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "postiz_redis",
      "description": "Default Redis server port",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "postiz_redis",
      "description": "Redis authentication username",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "postiz_redis",
      "description": "Internal Redis connection URI",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "postiz_redis",
      "description": "Redis password alias variable",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "postiz_redis",
      "description": "Redis authentication password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "REDIS_PUBLIC_URL",
      "service": "postiz_redis",
      "description": "External Redis connection URI",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "TEMPORAL_ADDRESS",
      "service": "temporal-admin-tools",
      "description": "Temporal service endpoint",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "TEMPORAL_CLI_ADDRESS",
      "service": "temporal-admin-tools",
      "description": "CLI connection address",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "postiz-with-temporal"
      }
    },
    "cli": "railway deploy --template postiz-with-temporal",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "508f654d-eb0f-4b85-b1e0-f7d2765c72fc",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "336e2f98-9f89-4e20-90f8-794694bc66be": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "postiz_postgres",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:17"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Postgres data storage directory",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Internal Postgres service hostname",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "Default Postgres database port",
                      "defaultValue": "5432"
                    },
                    "PGUSER": {
                      "isOptional": false,
                      "description": "Database username for connections",
                      "defaultValue": "${{POSTGRES_USER}}"
                    },
                    "PGDATABASE": {
                      "isOptional": false,
                      "description": "Default database name",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "Password for Postgres authentication",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Postiz application database",
                      "defaultValue": "railway"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Internal Postgres connection string",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Postgres admin username",
                      "defaultValue": "postgres"
                    },
                    "SSL_CERT_DAYS": {
                      "isOptional": false,
                      "description": "SSL certificate validity duration",
                      "defaultValue": "820"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for Postiz Postgres user",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "DATABASE_PUBLIC_URL": {
                      "isOptional": false,
                      "description": "External Postgres connection string",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}/${{PGDATABASE}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Graceful shutdown waiting time",
                      "defaultValue": "60"
                    }
                  },
                  "volumeMounts": {
                    "336e2f98-9f89-4e20-90f8-794694bc66be": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  },
                  "haTemplateCode": "postgres-ha",
                  "haConversionConfig": {
                    "edge": {
                      "label": "Reverse Proxy",
                      "options": [
                        2,
                        3,
                        4,
                        5
                      ],
                      "nodeLabel": "HAProxy",
                      "description": "Routes traffic to the primary",
                      "defaultValue": 3
                    },
                    "replica": {
                      "label": "Replicas",
                      "options": [
                        2,
                        3,
                        4,
                        5,
                        6,
                        7
                      ],
                      "nodeLabel": "Postgres",
                      "description": "Streaming replicas for automatic failover",
                      "defaultValue": 2
                    },
                    "internal": {
                      "label": "Coordinator Nodes",
                      "options": [
                        3,
                        5,
                        7,
                        9
                      ],
                      "nodeLabel": "etcd",
                      "defaultValue": 3
                    },
                    "description": "This will convert your Postgres database to an HA cluster with Patroni failover and etcd consensus."
                  }
                },
                "3aa00087-d455-4595-8db1-5018c3463efb": {
                  "icon": "https://docs.temporal.io/img/favicon.png",
                  "name": "temporal_server",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "temporalio/auto-setup"
                  },
                  "variables": {
                    "DB": {
                      "isOptional": false,
                      "description": "Database driver used by Temporal",
                      "defaultValue": "postgres12"
                    },
                    "ES_PWD": {
                      "isOptional": false,
                      "description": "Elasticsearch authentication password",
                      "defaultValue": "${{elasticsearch-railway.ELASTIC_PASSWORD}}"
                    },
                    "DB_PORT": {
                      "isOptional": false,
                      "description": "Postgres database port",
                      "defaultValue": "5432"
                    },
                    "ES_PORT": {
                      "isOptional": false,
                      "description": "Elasticsearch service port",
                      "defaultValue": "9200"
                    },
                    "ES_USER": {
                      "isOptional": false,
                      "description": "Elasticsearch username",
                      "defaultValue": "${{elasticsearch-railway.ELASTIC_USERNAME}}"
                    },
                    "ES_SEEDS": {
                      "isOptional": false,
                      "description": "Elasticsearch host address",
                      "defaultValue": "${{elasticsearch-railway.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "ENABLE_ES": {
                      "isOptional": false,
                      "description": "Enable Elasticsearch visibility backend",
                      "defaultValue": "true"
                    },
                    "ES_SCHEME": {
                      "isOptional": false,
                      "description": "Elasticsearch connection protocol",
                      "defaultValue": "http"
                    },
                    "BIND_ON_IP": {
                      "isOptional": false,
                      "description": "Bind Temporal server on all interfaces",
                      "defaultValue": "0.0.0.0"
                    },
                    "ES_VERSION": {
                      "isOptional": false,
                      "description": "Elasticsearch API version compatibility",
                      "defaultValue": "v7"
                    },
                    "POSTGRES_PWD": {
                      "isOptional": false,
                      "description": "Password for Temporal Postgres",
                      "defaultValue": "${{temporal-postgres.PGPASSWORD}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Username for Temporal Postgres",
                      "defaultValue": "${{temporal-postgres.PGUSER}}"
                    },
                    "POSTGRES_SEEDS": {
                      "isOptional": false,
                      "description": "Postgres host for Temporal",
                      "defaultValue": "${{temporal-postgres.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "TEMPORAL_ADDRESS": {
                      "isOptional": false,
                      "description": "Local Temporal service address",
                      "defaultValue": "127.0.0.1:7233"
                    },
                    "DEFAULT_NAMESPACE": {
                      "isOptional": false,
                      "description": "Namespace created at startup",
                      "defaultValue": "default"
                    },
                    "TEMPORAL_NAMESPACE": {
                      "isOptional": false,
                      "description": "Default workflow namespace",
                      "defaultValue": "default"
                    },
                    "TEMPORAL_BROADCAST_ADDRESS": {
                      "isOptional": false,
                      "description": "Broadcast address for cluster nodes",
                      "defaultValue": "127.0.0.1"
                    },
                    "SKIP_DEFAULT_NAMESPACE_CREATION": {
                      "isOptional": false,
                      "description": "Create namespace automatically",
                      "defaultValue": "false"
                    }
                  }
                },
                "46174d8f-01ec-4528-ac59-826d850c9e8f": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "temporal-postgres",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:17"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Postgres data storage directory",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Internal Postgres service hostname",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "Default Postgres database port",
                      "defaultValue": "5432"
                    },
                    "PGUSER": {
                      "isOptional": false,
                      "description": "Database username for connections",
                      "defaultValue": "${{POSTGRES_USER}}"
                    },
                    "PGDATABASE": {
                      "isOptional": false,
                      "description": "Default database name",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "Password for Postgres authentication",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Temporal service database name",
                      "defaultValue": "temporal"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Internal Postgres connection string",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Temporal database username",
                      "defaultValue": "temporal"
                    },
                    "SSL_CERT_DAYS": {
                      "isOptional": false,
                      "description": "SSL certificate validity duration",
                      "defaultValue": "820"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "Container runtime user ID",
                      "defaultValue": "0"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for Temporal Postgres user",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "DATABASE_PUBLIC_URL": {
                      "isOptional": false,
                      "description": "External Postgres connection string",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}/${{PGDATABASE}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Graceful shutdown waiting time",
                      "defaultValue": "60"
                    }
                  },
                  "volumeMounts": {
                    "46174d8f-01ec-4528-ac59-826d850c9e8f": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  },
                  "haTemplateCode": "postgres-ha",
                  "haConversionConfig": {
                    "edge": {
                      "label": "Reverse Proxy",
                      "options": [
                        2,
                        3,
                        4,
                        5
                      ],
                      "nodeLabel": "HAProxy",
                      "description": "Routes traffic to the primary",
                      "defaultValue": 3
                    },
                    "replica": {
                      "label": "Replicas",
                      "options": [
                        2,
                        3,
                        4,
                        5,
                        6,
                        7
                      ],
                      "nodeLabel": "Postgres",
                      "description": "Streaming replicas for automatic failover",
                      "defaultValue": 2
                    },
                    "internal": {
                      "label": "Coordinator Nodes",
                      "options": [
                        3,
                        5,
                        7,
                        9
                      ],
                      "nodeLabel": "etcd",
                      "defaultValue": 3
                    },
                    "description": "This will convert your Postgres database to an HA cluster with Patroni failover and etcd consensus."
                  }
                },
                "84905766-6517-4a8c-a625-d76cdf44a3f4": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/postiz.svg",
                  "name": "postiz-app",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/gitroomhq/postiz-app:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP server listening port",
                      "defaultValue": "3000"
                    },
                    "MAIN_URL": {
                      "isOptional": false,
                      "description": "Primary public application URL",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "RUN_CRON": {
                      "isOptional": false,
                      "description": "Enable scheduled background jobs",
                      "defaultValue": "true"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Redis connection for queues",
                      "defaultValue": "redis://default:${{postiz_redis.REDIS_PASSWORD}}@${{postiz_redis.RAILWAY_PRIVATE_DOMAIN}}:6379"
                    },
                    "IS_GENERAL": {
                      "isOptional": false,
                      "description": "Enable general multi-user mode",
                      "defaultValue": "true"
                    },
                    "JWT_SECRET": {
                      "isOptional": false,
                      "description": "Secret for signing authentication tokens",
                      "defaultValue": "{{JWT_SECRET}}"
                    },
                    "NOT_SECURED": {
                      "isOptional": false,
                      "description": "Disable strict security protections",
                      "defaultValue": "true"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Postiz Postgres database connection",
                      "defaultValue": "postgresql://${{postiz_postgres.PGUSER}}:${{postiz_postgres.PGPASSWORD}}@${{postiz_postgres.RAILWAY_PRIVATE_DOMAIN}}:5432/${{postiz_postgres.PGDATABASE}}"
                    },
                    "FRONTEND_URL": {
                      "isOptional": false,
                      "description": "Public frontend interface URL",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "STORAGE_PROVIDER": {
                      "isOptional": false,
                      "description": "Use local filesystem storage",
                      "defaultValue": "local"
                    },
                    "TEMPORAL_ADDRESS": {
                      "isOptional": false,
                      "description": "Temporal workflow service address",
                      "defaultValue": "${{temporal_server.RAILWAY_PRIVATE_DOMAIN}}:7233"
                    },
                    "UPLOAD_DIRECTORY": {
                      "isOptional": false,
                      "description": "Local directory storing uploaded files",
                      "defaultValue": "/uploads"
                    },
                    "BACKEND_INTERNAL_URL": {
                      "isOptional": false,
                      "description": "Internal backend service address",
                      "defaultValue": "http://localhost:3000"
                    },
                    "DISABLE_REGISTRATION": {
                      "isOptional": false,
                      "description": "Allow new user registrations",
                      "defaultValue": "false"
                    },
                    "NEXT_PUBLIC_BACKEND_URL": {
                      "isOptional": false,
                      "description": "Public backend API endpoint",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}/api"
                    },
                    "NEXT_PUBLIC_UPLOAD_DIRECTORY": {
                      "isOptional": false,
                      "description": "Public upload directory path",
                      "defaultValue": "/uploads"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:5000": {
                        "port": 5000
                      }
                    }
                  },
                  "volumeMounts": {
                    "84905766-6517-4a8c-a625-d76cdf44a3f4": {
                      "mountPath": "/uploads"
                    }
                  }
                },
                "985e5139-1459-4aad-8e0c-f1012525526b": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/elasticsearch.svg",
                  "name": "elasticsearch-railway",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/praveen-ks-2001/elasticsearch-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Elasticsearch HTTP service port",
                      "defaultValue": "9200"
                    },
                    "ES_JAVA_OPTS": {
                      "isOptional": false,
                      "description": "JVM heap memory settings",
                      "defaultValue": "-Xms256m -Xmx512m"
                    },
                    "ELASTIC_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for Elasticsearch authentication",
                      "defaultValue": "1234"
                    },
                    "ELASTIC_USERNAME": {
                      "isOptional": false,
                      "description": "Elasticsearch admin username",
                      "defaultValue": "elastic"
                    }
                  },
                  "volumeMounts": {
                    "985e5139-1459-4aad-8e0c-f1012525526b": {
                      "mountPath": "/esdata"
                    }
                  }
                },
                "cc26454c-d785-4de3-aa65-b5a9ff2850a4": {
                  "icon": "https://docs.temporal.io/img/favicon.png",
                  "name": "temporal-ui",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "temporalio/ui"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Container HTTP listening port",
                      "defaultValue": "8080"
                    },
                    "TEMPORAL_ADDRESS": {
                      "isOptional": false,
                      "description": "Temporal server address for UI",
                      "defaultValue": "${{temporal_server.RAILWAY_PRIVATE_DOMAIN}}:7233"
                    },
                    "TEMPORAL_UI_PORT": {
                      "isOptional": false,
                      "description": "Port Temporal UI runs on",
                      "defaultValue": "8080"
                    },
                    "TEMPORAL_CORS_ORIGINS": {
                      "isOptional": false,
                      "description": "Allowed CORS origins for UI",
                      "defaultValue": "http://localhost:3000"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                },
                "e7826612-3e97-4f11-8057-35ed3f6468de": {
                  "icon": "https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg",
                  "name": "postiz_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.1"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": false,
                      "description": "Internal Redis service hostname",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "description": "Default Redis server port",
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "description": "Redis authentication username",
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Internal Redis connection URI",
                      "defaultValue": "redis://${{REDISUSER}}:${{REDIS_PASSWORD}}@${{REDISHOST}}:${{REDISPORT}}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": false,
                      "description": "Redis password alias variable",
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Redis authentication password",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    },
                    "REDIS_PUBLIC_URL": {
                      "isOptional": false,
                      "description": "External Redis connection URI",
                      "defaultValue": "redis://default:${{REDIS_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}"
                    }
                  },
                  "volumeMounts": {
                    "e7826612-3e97-4f11-8057-35ed3f6468de": {
                      "mountPath": "/data"
                    }
                  },
                  "haTemplateCode": "redis-ha",
                  "haConversionConfig": {
                    "edge": {
                      "label": "Reverse Proxies",
                      "options": [
                        1,
                        2
                      ],
                      "nodeLabel": "HAProxy",
                      "description": "HAProxy instances routing writes to the primary",
                      "defaultValue": 2
                    },
                    "replica": {
                      "label": "Redis Replicas",
                      "options": [
                        2,
                        3,
                        4,
                        5
                      ],
                      "nodeLabel": "Redis",
                      "description": "Nodes running Redis + colocated Sentinel",
                      "defaultValue": 2
                    },
                    "internal": null,
                    "description": "This will convert your Redis instance to an HA cluster with Sentinel failover and HAProxy routing to the primary."
                  }
                },
                "ea0c1902-6ba3-4db9-aad3-a270e9d9996f": {
                  "icon": "https://djeqr6to3dedg.cloudfront.net/repo-logos/temporalio/admin-tools/live/logo-1731448348189.png",
                  "name": "temporal-admin-tools",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "temporalio/admin-tools"
                  },
                  "variables": {
                    "TEMPORAL_ADDRESS": {
                      "isOptional": false,
                      "description": "Temporal service endpoint",
                      "defaultValue": "${{temporal_server.RAILWAY_PRIVATE_DOMAIN}}:7233"
                    },
                    "TEMPORAL_CLI_ADDRESS": {
                      "isOptional": false,
                      "description": "CLI connection address",
                      "defaultValue": "${{temporal_server.RAILWAY_PRIVATE_DOMAIN}}:7233"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 8,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-18T10:08:59.016Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_093f9219d8f44adc9fe2",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 206,
    "typical_build_seconds": 0,
    "typical_start_seconds": 71,
    "slowest_service": "postiz-app"
  }
}
