{
  "manifest_version": "1.0.0",
  "template": {
    "id": "8e5b1899-28a9-4649-a5ea-c734140f624e",
    "slug": "g5MZ4j",
    "name": "Typebot (Atualizado)",
    "description": "Typebot facilita a criação de chatbots avançados.",
    "url": "https://railway.com/deploy/g5MZ4j",
    "upstream": {
      "image": "minio/minio:latest"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "tcp_ports": [
        5432
      ],
      "http": false
    },
    {
      "name": "MinIO",
      "source": {
        "image": "minio/minio:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    },
    {
      "name": "Builder",
      "source": {
        "image": "baptistearno/typebot-builder:latest"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Viewer",
      "source": {
        "image": "baptistearno/typebot-viewer:latest"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "MinIO Init.",
      "source": {
        "image": "minio/mc:RELEASE.2025-04-16T18-13-26Z"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Location where the database will be initialized",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "PGHOST",
      "service": "Postgres",
      "description": "Railway Private Domain Name.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT",
      "service": "Postgres",
      "description": "Port to connect to Postgres.",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "PGUSER",
      "service": "Postgres",
      "description": "Required variable for Data panel",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "Postgres",
      "description": "Required variable for the data panel.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "Postgres",
      "description": "Required variable for Data panel",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Default database created when image is started.",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "DATABASE_URL",
      "service": "Postgres",
      "description": "URL to connect to Postgres database.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "User to connect to Postgres DB",
      "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": "Password to connect to DB",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DATABASE_PUBLIC_URL",
      "service": "Postgres",
      "description": "Public URL to connect to Postgres database, used by the Data panel.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PORT",
      "service": "MinIO",
      "description": "MinIO port",
      "secret": false,
      "strategy": "default",
      "default": "9000"
    },
    {
      "key": "MINIO_BUCKET",
      "service": "MinIO",
      "description": "MinIO default bucket",
      "secret": false,
      "strategy": "default",
      "default": "typebot"
    },
    {
      "key": "MINIO_ROOT_USER",
      "service": "MinIO",
      "description": "MinIO root username",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "MINIO_ROOT_PASSWORD",
      "service": "MinIO",
      "description": "MinIO secret key",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "PORT",
      "service": "Builder",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "S3_PORT",
      "service": "Builder",
      "description": "S3 Host port number",
      "secret": false,
      "strategy": "default",
      "default": "443"
    },
    {
      "key": "S3_BUCKET",
      "service": "Builder",
      "description": "Name of the bucket where assets will be uploaded in",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SMTP_HOST",
      "service": "Builder",
      "description": "SMTP host. Gmail is known to not work",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "SMTP_PORT",
      "service": "Builder",
      "description": "SMTP port",
      "secret": false,
      "strategy": "default",
      "default": "465"
    },
    {
      "key": "ADMIN_EMAIL",
      "service": "Builder",
      "description": "The email that will get an UNLIMITED plan on user creation. The associated user will be able to bypass database rules.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "S3_ENDPOINT",
      "service": "Builder",
      "description": "S3 endpoint",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "SMTP_SECURE",
      "service": "Builder",
      "description": "If true the connection will use TLS when connecting to server. If false (the default) then TLS is used if server supports the STARTTLS extension. In most cases set this value to true if you are connecting to port 465. For port 587 or 25 keep it false",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "DATABASE_URL",
      "service": "Builder",
      "description": "Provide a value for DATABASE_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "NEXTAUTH_URL",
      "service": "Builder",
      "description": "The builder base URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "S3_ACCESS_KEY",
      "service": "Builder",
      "description": "S3 access key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_SECRET_KEY",
      "service": "Builder",
      "description": "S3 key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SMTP_PASSWORD",
      "service": "Builder",
      "description": "SMTP password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "SMTP_USERNAME",
      "service": "Builder",
      "description": "SMTP username, can be the same as the admin email",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "ENCRYPTION_SECRET",
      "service": "Builder",
      "description": "A key used to encrypt sensitive data",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SMTP_AUTH_DISABLED",
      "service": "Builder",
      "description": "To disable the authentication by email",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "NEXT_PUBLIC_SMTP_FROM",
      "service": "Builder",
      "description": "SMTP from email address",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "NEXT_PUBLIC_VIEWER_URL",
      "service": "Builder",
      "description": "The viewer base URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "PORT",
      "service": "Viewer",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "S3_PORT",
      "service": "Viewer",
      "description": "S3 Host port number",
      "secret": false,
      "strategy": "default",
      "default": "443"
    },
    {
      "key": "S3_BUCKET",
      "service": "Viewer",
      "description": "Name of the bucket where assets will be uploaded in",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SMTP_HOST",
      "service": "Viewer",
      "description": "SMTP host. (i.e. smtp.host.com)",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SMTP_PORT",
      "service": "Viewer",
      "description": "SMTP port",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ADMIN_EMAIL",
      "service": "Viewer",
      "description": "The email that will get an UNLIMITED plan on user creation. The associated user will be able to bypass database rules.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_ENDPOINT",
      "service": "Viewer",
      "description": "S3 endpoint",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SMTP_SECURE",
      "service": "Viewer",
      "description": "If true the connection will use TLS when connecting to server. If false (the default) then TLS is used if server supports the STARTTLS extension. In most cases set this value to true if you are connecting to port 465. For port 587 or 25 keep it false",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DATABASE_URL",
      "service": "Viewer",
      "description": "Provide a value for DATABASE_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "NEXTAUTH_URL",
      "service": "Viewer",
      "description": "The builder base URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "S3_ACCESS_KEY",
      "service": "Viewer",
      "description": "S3 access key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_SECRET_KEY",
      "service": "Viewer",
      "description": "S3 Key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SMTP_PASSWORD",
      "service": "Viewer",
      "description": "SMTP password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SMTP_USERNAME",
      "service": "Viewer",
      "description": "SMTP username",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ENCRYPTION_SECRET",
      "service": "Viewer",
      "description": "A key used to encrypt sensitive data",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SMTP_AUTH_DISABLED",
      "service": "Viewer",
      "description": "To disable the authentication by email",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "NEXT_PUBLIC_SMTP_FROM",
      "service": "Viewer",
      "description": "SMTP from email address",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "NEXT_PUBLIC_VIEWER_URL",
      "service": "Viewer",
      "description": "The viewer base URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "MINIO_BUCKET",
      "service": "MinIO Init.",
      "description": "Provide a value for MINIO_BUCKET.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MINIO_ENDPOINT",
      "service": "MinIO Init.",
      "description": "Provide a value for MINIO_ENDPOINT.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "MINIO_ROOT_USER",
      "service": "MinIO Init.",
      "description": "Provide a value for MINIO_ROOT_USER.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MINIO_ROOT_PASSWORD",
      "service": "MinIO Init.",
      "description": "Provide a value for MINIO_ROOT_PASSWORD.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "g5MZ4j"
      }
    },
    "cli": "railway deploy --template g5MZ4j",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "8e5b1899-28a9-4649-a5ea-c734140f624e",
            "serializedConfig": {
              "services": {
                "1a1e6e9a-7a5b-4f75-9074-50168034a119": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "build": {},
                  "deploy": {},
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:latest"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Location where the database will be initialized",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Railway Private Domain Name.",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "Port to connect to Postgres.",
                      "defaultValue": "5432"
                    },
                    "PGUSER": {
                      "isOptional": false,
                      "description": "Required variable for Data panel",
                      "defaultValue": "${{ POSTGRES_USER }}"
                    },
                    "PGDATABASE": {
                      "isOptional": false,
                      "description": "Required variable for the data panel.",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "Required variable for Data panel",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Default database created when image is started.",
                      "defaultValue": "railway"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "URL to connect to Postgres database.",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "User to connect to Postgres DB",
                      "defaultValue": "postgres"
                    },
                    "SSL_CERT_DAYS": {
                      "isOptional": true,
                      "description": "SSL certificate expiry in days.",
                      "defaultValue": "820"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Password to connect to DB",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "DATABASE_PUBLIC_URL": {
                      "description": "Public URL to connect to Postgres database, used by the Data panel.",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}/${{PGDATABASE}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "5432": {}
                    },
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "1a1e6e9a-7a5b-4f75-9074-50168034a119": {
                      "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."
                  }
                },
                "3469262a-2dea-4688-a7ad-f275bd487128": {
                  "icon": "https://devicons.railway.app/MinIO",
                  "name": "MinIO",
                  "build": {},
                  "deploy": {
                    "startCommand": "/bin/sh -c \"minio server --address [::]:$PORT $RAILWAY_VOLUME_MOUNT_PATH\""
                  },
                  "source": {
                    "image": "minio/minio:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "MinIO port",
                      "defaultValue": "9000"
                    },
                    "MINIO_BUCKET": {
                      "isOptional": false,
                      "description": "MinIO default bucket",
                      "defaultValue": "typebot"
                    },
                    "MINIO_ROOT_USER": {
                      "isOptional": false,
                      "description": "MinIO root username",
                      "defaultValue": "{{MINIO_ROOT_USER}}"
                    },
                    "MINIO_ROOT_PASSWORD": {
                      "isOptional": false,
                      "description": "MinIO secret key",
                      "defaultValue": "{{MINIO_ROOT_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "3469262a-2dea-4688-a7ad-f275bd487128": {
                      "mountPath": "/data"
                    }
                  }
                },
                "3c22f9ba-119e-4fdb-b1d8-4374d22ef1b2": {
                  "icon": "https://pub-56484c30fcce438d8df90ccca62ed640.r2.dev/images/templates/typebot/typebot-logo-old.svg",
                  "name": "Builder",
                  "build": {},
                  "deploy": {},
                  "source": {
                    "image": "baptistearno/typebot-builder:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "defaultValue": "3000"
                    },
                    "S3_PORT": {
                      "isOptional": false,
                      "description": "S3 Host port number",
                      "defaultValue": "443"
                    },
                    "S3_BUCKET": {
                      "isOptional": false,
                      "description": "Name of the bucket where assets will be uploaded in",
                      "defaultValue": "${{MinIO.MINIO_BUCKET}}"
                    },
                    "SMTP_HOST": {
                      "isOptional": false,
                      "description": "SMTP host. Gmail is known to not work",
                      "defaultValue": "{{SMTP_HOST}}"
                    },
                    "SMTP_PORT": {
                      "isOptional": false,
                      "description": "SMTP port",
                      "defaultValue": "465"
                    },
                    "ADMIN_EMAIL": {
                      "isOptional": false,
                      "description": "The email that will get an UNLIMITED plan on user creation. The associated user will be able to bypass database rules.",
                      "defaultValue": "{{ADMIN_EMAIL}}"
                    },
                    "S3_ENDPOINT": {
                      "isOptional": false,
                      "description": "S3 endpoint",
                      "defaultValue": "${{MinIO.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "SMTP_SECURE": {
                      "isOptional": false,
                      "description": "If true the connection will use TLS when connecting to server. If false (the default) then TLS is used if server supports the STARTTLS extension. In most cases set this value to true if you are connecting to port 465. For port 587 or 25 keep it false",
                      "defaultValue": "true"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "NEXTAUTH_URL": {
                      "isOptional": false,
                      "description": "The builder base URL",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "S3_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "S3 access key",
                      "defaultValue": "${{MinIO.MINIO_ROOT_USER}}"
                    },
                    "S3_SECRET_KEY": {
                      "isOptional": false,
                      "description": "S3 key",
                      "defaultValue": "${{MinIO.MINIO_ROOT_PASSWORD}}"
                    },
                    "SMTP_PASSWORD": {
                      "isOptional": false,
                      "description": "SMTP password",
                      "defaultValue": "{{SMTP_PASSWORD}}"
                    },
                    "SMTP_USERNAME": {
                      "isOptional": false,
                      "description": "SMTP username, can be the same as the admin email",
                      "defaultValue": "{{SMTP_USERNAME}}"
                    },
                    "ENCRYPTION_SECRET": {
                      "isOptional": false,
                      "description": "A key used to encrypt sensitive data",
                      "defaultValue": "{{ENCRYPTION_SECRET}}"
                    },
                    "SMTP_AUTH_DISABLED": {
                      "isOptional": false,
                      "description": "To disable the authentication by email",
                      "defaultValue": "false"
                    },
                    "NEXT_PUBLIC_SMTP_FROM": {
                      "isOptional": false,
                      "description": "SMTP from email address",
                      "defaultValue": "${{SMTP_USERNAME}}"
                    },
                    "NEXT_PUBLIC_VIEWER_URL": {
                      "isOptional": false,
                      "description": "The viewer base URL",
                      "defaultValue": "https://${{Viewer.RAILWAY_PUBLIC_DOMAIN}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {}
                },
                "97361948-03f3-4d88-81a8-5cb08b5de441": {
                  "icon": "https://pub-56484c30fcce438d8df90ccca62ed640.r2.dev/images/templates/typebot/typebot-logo-old.svg",
                  "name": "Viewer",
                  "build": {},
                  "deploy": {},
                  "source": {
                    "image": "baptistearno/typebot-viewer:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "defaultValue": "3000"
                    },
                    "S3_PORT": {
                      "isOptional": false,
                      "description": "S3 Host port number",
                      "defaultValue": "443"
                    },
                    "S3_BUCKET": {
                      "isOptional": false,
                      "description": "Name of the bucket where assets will be uploaded in",
                      "defaultValue": "${{Builder.S3_BUCKET}}"
                    },
                    "SMTP_HOST": {
                      "isOptional": false,
                      "description": "SMTP host. (i.e. smtp.host.com)",
                      "defaultValue": "${{Builder.SMTP_HOST}}"
                    },
                    "SMTP_PORT": {
                      "isOptional": false,
                      "description": "SMTP port",
                      "defaultValue": "${{Builder.SMTP_PORT}}"
                    },
                    "ADMIN_EMAIL": {
                      "isOptional": false,
                      "description": "The email that will get an UNLIMITED plan on user creation. The associated user will be able to bypass database rules.",
                      "defaultValue": "${{Builder.ADMIN_EMAIL}}"
                    },
                    "S3_ENDPOINT": {
                      "isOptional": false,
                      "description": "S3 endpoint",
                      "defaultValue": "${{Builder.S3_ENDPOINT}}"
                    },
                    "SMTP_SECURE": {
                      "isOptional": false,
                      "description": "If true the connection will use TLS when connecting to server. If false (the default) then TLS is used if server supports the STARTTLS extension. In most cases set this value to true if you are connecting to port 465. For port 587 or 25 keep it false",
                      "defaultValue": "${{Builder.SMTP_SECURE}}"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "NEXTAUTH_URL": {
                      "isOptional": false,
                      "description": "The builder base URL",
                      "defaultValue": "https://${{Builder.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "S3_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "S3 access key",
                      "defaultValue": "${{Builder.S3_ACCESS_KEY}}"
                    },
                    "S3_SECRET_KEY": {
                      "isOptional": false,
                      "description": "S3 Key",
                      "defaultValue": "${{Builder.S3_SECRET_KEY}}"
                    },
                    "SMTP_PASSWORD": {
                      "isOptional": false,
                      "description": "SMTP password",
                      "defaultValue": "${{Builder.SMTP_PASSWORD}}"
                    },
                    "SMTP_USERNAME": {
                      "isOptional": false,
                      "description": "SMTP username",
                      "defaultValue": "${{Builder.SMTP_USERNAME}}"
                    },
                    "ENCRYPTION_SECRET": {
                      "isOptional": false,
                      "description": "A key used to encrypt sensitive data",
                      "defaultValue": "${{Builder.ENCRYPTION_SECRET}}"
                    },
                    "SMTP_AUTH_DISABLED": {
                      "isOptional": false,
                      "description": "To disable the authentication by email",
                      "defaultValue": "${{Builder.SMTP_AUTH_DISABLED}}"
                    },
                    "NEXT_PUBLIC_SMTP_FROM": {
                      "isOptional": false,
                      "description": "SMTP from email address",
                      "defaultValue": "${{SMTP_USERNAME}}"
                    },
                    "NEXT_PUBLIC_VIEWER_URL": {
                      "isOptional": false,
                      "description": "The viewer base URL",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {}
                },
                "d4b4419f-4fc7-40a4-9953-7dd390168924": {
                  "icon": "https://devicons.railway.app/min",
                  "name": "MinIO Init.",
                  "build": {},
                  "deploy": {
                    "startCommand": "/bin/sh -c \"sleep 10 && /usr/bin/mc config host add minio ${MINIO_ENDPOINT} ${MINIO_ROOT_USER} ${MINIO_ROOT_PASSWORD} && /usr/bin/mc mb minio/${MINIO_BUCKET} && /usr/bin/mc anonymous set public minio/${MINIO_BUCKET}/public && exit 0\""
                  },
                  "source": {
                    "image": "minio/mc:RELEASE.2025-04-16T18-13-26Z"
                  },
                  "variables": {
                    "MINIO_BUCKET": {
                      "isOptional": false,
                      "defaultValue": "${{MinIO.MINIO_BUCKET}}"
                    },
                    "MINIO_ENDPOINT": {
                      "isOptional": false,
                      "defaultValue": "http://${{MinIO.RAILWAY_PRIVATE_DOMAIN}}:${{MinIO.PORT}}"
                    },
                    "MINIO_ROOT_USER": {
                      "isOptional": false,
                      "defaultValue": "${{MinIO.MINIO_ROOT_USER}}"
                    },
                    "MINIO_ROOT_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "${{MinIO.MINIO_ROOT_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  },
                  "volumeMounts": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 5,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0"
}
