{
  "manifest_version": "1.0.0",
  "template": {
    "id": "6963029d-cd9f-4c49-b895-1f51ee3e1913",
    "slug": "infisical-secrets",
    "name": "Infisical | Open-Source Secrets Manager and Vault Alternative",
    "description": "Infisical secrets manager with the admin created and sign-up closed on boot",
    "url": "https://railway.com/deploy/infisical-secrets",
    "upstream": {
      "repo_url": "https://github.com/nomideusz/infisical-railway"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.10.2-alpine"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "Infisical",
      "source": {
        "repo": "https://github.com/nomideusz/infisical-railway"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:17"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Auto-generated Redis password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "PORT",
      "service": "Infisical",
      "description": "Port Infisical listens on - leave as is",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "SITE_URL",
      "service": "Infisical",
      "description": "Public URL of Infisical - set it to your custom domain after adding one",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "REDIS_URL",
      "service": "Infisical",
      "description": "Redis on the private network (family=0 lets it connect over IPv6)",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "SMTP_PORT",
      "service": "Infisical",
      "description": "SMTP port",
      "secret": false,
      "strategy": "default",
      "default": "587"
    },
    {
      "key": "AUTH_SECRET",
      "service": "Infisical",
      "description": "Signs login sessions - changing it logs everyone out",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "HTTPS_ENABLED",
      "service": "Infisical",
      "description": "Railway serves the domain over HTTPS, so session cookies are marked Secure",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "ENCRYPTION_KEY",
      "service": "Infisical",
      "description": "Root key that encrypts every secret. BACK IT UP - if it is lost or changed, stored secrets cannot be decrypted",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DB_CONNECTION_URI",
      "service": "Infisical",
      "description": "Postgres on the private network",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "INFISICAL_ADMIN_EMAIL",
      "service": "Infisical",
      "description": "Your email - the instance admin login, created on first boot",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "INFISICAL_ORGANIZATION",
      "service": "Infisical",
      "description": "Name of the first organization, created on first boot",
      "secret": false,
      "strategy": "default",
      "default": "My Company"
    },
    {
      "key": "INFISICAL_ADMIN_PASSWORD",
      "service": "Infisical",
      "description": "Admin password, set on first boot only - copy it from here to log in, then change it in Infisical",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_HEALTHCHECK_TIMEOUT_SEC",
      "service": "Infisical",
      "description": "First boot runs the database migrations before the health check can pass",
      "secret": false,
      "strategy": "default",
      "default": "600"
    },
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Data subdirectory - keeps Postgres happy on Railway volumes",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Database name",
      "secret": false,
      "strategy": "default",
      "default": "infisical"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "Database user",
      "secret": false,
      "strategy": "default",
      "default": "infisical"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "Auto-generated database password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Time for Postgres to shut down cleanly on redeploy",
      "secret": false,
      "strategy": "default",
      "default": "60"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "infisical-secrets"
      }
    },
    "cli": "railway deploy --template infisical-secrets",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "6963029d-cd9f-4c49-b895-1f51ee3e1913",
            "serializedConfig": {
              "services": {
                "22f4d2ca-c8cc-4555-a5d3-80059284cd7d": {
                  "icon": "https://devicons.railway.app/i/redis.svg",
                  "name": "Redis",
                  "build": {},
                  "deploy": {
                    "startCommand": "/bin/sh -c \"chown -R redis:redis /data && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --appendonly yes\"",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "redis:8.10.2-alpine"
                  },
                  "variables": {
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Auto-generated Redis password",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "0e92ce18-5c01-4bbe-9b50-5937ea419e7f": {
                      "mountPath": "/data"
                    }
                  }
                },
                "54608c18-dfc4-4e3c-ab35-cdc89b29b2d5": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/infisical.svg",
                  "name": "Infisical",
                  "build": {},
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/api/status",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/nomideusz/infisical-railway",
                    "rootDirectory": "/infisical"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port Infisical listens on - leave as is",
                      "defaultValue": "8080"
                    },
                    "SITE_URL": {
                      "isOptional": false,
                      "description": "Public URL of Infisical - set it to your custom domain after adding one",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Redis on the private network (family=0 lets it connect over IPv6)",
                      "defaultValue": "redis://default:${{Redis.REDIS_PASSWORD}}@${{Redis.RAILWAY_PRIVATE_DOMAIN}}:6379?family=0"
                    },
                    "SMTP_HOST": {
                      "isOptional": true,
                      "description": "Optional SMTP server for invites and alerts (Railway allows outbound SMTP on Pro only)",
                      "defaultValue": ""
                    },
                    "SMTP_PORT": {
                      "isOptional": true,
                      "description": "SMTP port",
                      "defaultValue": "587"
                    },
                    "AUTH_SECRET": {
                      "isOptional": false,
                      "description": "Signs login sessions - changing it logs everyone out",
                      "defaultValue": "{{AUTH_SECRET}}"
                    },
                    "HTTPS_ENABLED": {
                      "isOptional": false,
                      "description": "Railway serves the domain over HTTPS, so session cookies are marked Secure",
                      "defaultValue": "true"
                    },
                    "SMTP_PASSWORD": {
                      "isOptional": true,
                      "description": "SMTP password",
                      "defaultValue": ""
                    },
                    "SMTP_USERNAME": {
                      "isOptional": true,
                      "description": "SMTP username",
                      "defaultValue": ""
                    },
                    "ENCRYPTION_KEY": {
                      "isOptional": false,
                      "description": "Root key that encrypts every secret. BACK IT UP - if it is lost or changed, stored secrets cannot be decrypted",
                      "defaultValue": "{{ENCRYPTION_KEY}}"
                    },
                    "DB_CONNECTION_URI": {
                      "isOptional": false,
                      "description": "Postgres on the private network",
                      "defaultValue": "postgresql://${{Postgres.POSTGRES_USER}}:${{Postgres.POSTGRES_PASSWORD}}@${{Postgres.RAILWAY_PRIVATE_DOMAIN}}:5432/${{Postgres.POSTGRES_DB}}"
                    },
                    "SMTP_FROM_ADDRESS": {
                      "isOptional": true,
                      "description": "Sender address for Infisical emails",
                      "defaultValue": ""
                    },
                    "INFISICAL_ADMIN_EMAIL": {
                      "isOptional": false,
                      "description": "Your email - the instance admin login, created on first boot",
                      "defaultValue": "{{INFISICAL_ADMIN_EMAIL}}"
                    },
                    "INFISICAL_ORGANIZATION": {
                      "isOptional": false,
                      "description": "Name of the first organization, created on first boot",
                      "defaultValue": "My Company"
                    },
                    "INFISICAL_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Admin password, set on first boot only - copy it from here to log in, then change it in Infisical",
                      "defaultValue": "{{INFISICAL_ADMIN_PASSWORD}}"
                    },
                    "RAILWAY_HEALTHCHECK_TIMEOUT_SEC": {
                      "isOptional": false,
                      "description": "First boot runs the database migrations before the health check can pass",
                      "defaultValue": "600"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                },
                "6355c2eb-b162-4609-b3b8-1c51c393448d": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "build": {},
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:17"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Data subdirectory - keeps Postgres happy on Railway volumes",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Database name",
                      "defaultValue": "infisical"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Database user",
                      "defaultValue": "infisical"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Auto-generated database password",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Time for Postgres to shut down cleanly on redeploy",
                      "defaultValue": "60"
                    }
                  },
                  "networking": {
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "c2b8c643-ef74-43c5-a3ec-25347528e305": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Infisical",
      "method": "GET",
      "path": "/api/status",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 3,
    "needs_volume": true
  },
  "generated_at": "2026-10-04T22:14:51.474Z",
  "generator_version": "0.1.0"
}
