{
  "manifest_version": "1.0.0",
  "template": {
    "id": "d56b3579-0bbd-42ec-8825-0e3ac4f06df8",
    "slug": "zammad-7",
    "name": "Zammad 7 | Open-Source Helpdesk and Ticketing with Search",
    "description": "Zammad 7 helpdesk with Elasticsearch search and an admin ready on boot",
    "url": "https://railway.com/deploy/zammad-7",
    "upstream": {
      "repo_url": "https://github.com/nomideusz/zammad-railway"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Elasticsearch",
      "source": {
        "repo": "https://github.com/nomideusz/zammad-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/usr/share/elasticsearch/data",
      "http": false
    },
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:17"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.10.2-alpine"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "Zammad",
      "source": {
        "repo": "https://github.com/nomideusz/zammad-railway"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "ES_JAVA_OPTS",
      "service": "Elasticsearch",
      "description": "Java heap. 512 MB suits a small helpdesk; raise both values for large ticket volumes",
      "secret": false,
      "strategy": "default",
      "default": "-Xms512m -Xmx512m"
    },
    {
      "key": "ELASTIC_PASSWORD",
      "service": "Elasticsearch",
      "description": "Auto-generated password of the 'elastic' user",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Elasticsearch",
      "description": "Time for Elasticsearch to shut down cleanly on redeploy",
      "secret": false,
      "strategy": "default",
      "default": "30"
    },
    {
      "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": "zammad_production"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "Database user",
      "secret": false,
      "strategy": "default",
      "default": "zammad"
    },
    {
      "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"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Auto-generated Redis password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "PORT",
      "service": "Zammad",
      "description": "Port nginx listens on in front of Zammad - leave as is",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "REDIS_URL",
      "service": "Zammad",
      "description": "Redis for websocket sessions - private network, leave as is",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "ZAMMAD_FQDN",
      "service": "Zammad",
      "description": "Domain used in links and emails - set it to your custom domain when you add one",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "POSTGRESQL_DB",
      "service": "Zammad",
      "description": "Postgres database - leave as is",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRESQL_HOST",
      "service": "Zammad",
      "description": "Postgres host - private network, leave as is",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRESQL_PASS",
      "service": "Zammad",
      "description": "Postgres password - leave as is",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRESQL_PORT",
      "service": "Zammad",
      "description": "Postgres port",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "POSTGRESQL_USER",
      "service": "Zammad",
      "description": "Postgres user - leave as is",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ZAMMAD_HTTP_TYPE",
      "service": "Zammad",
      "description": "Scheme used in links and emails",
      "secret": false,
      "strategy": "default",
      "default": "https"
    },
    {
      "key": "ELASTICSEARCH_HOST",
      "service": "Zammad",
      "description": "Elasticsearch host - private network, leave as is",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "ELASTICSEARCH_PASS",
      "service": "Zammad",
      "description": "Elasticsearch password - leave as is",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ELASTICSEARCH_PORT",
      "service": "Zammad",
      "description": "Elasticsearch port",
      "secret": false,
      "strategy": "default",
      "default": "9200"
    },
    {
      "key": "ELASTICSEARCH_USER",
      "service": "Zammad",
      "description": "Elasticsearch user",
      "secret": false,
      "strategy": "default",
      "default": "elastic"
    },
    {
      "key": "ZAMMAD_ADMIN_EMAIL",
      "service": "Zammad",
      "description": "Your email - the admin login, created on first boot",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "ZAMMAD_ORGANIZATION",
      "service": "Zammad",
      "description": "Your company name, shown in Zammad and in emails. Set on first boot only",
      "secret": false,
      "strategy": "default",
      "default": "My Company"
    },
    {
      "key": "ELASTICSEARCH_SCHEMA",
      "service": "Zammad",
      "description": "Elasticsearch scheme",
      "secret": false,
      "strategy": "default",
      "default": "http"
    },
    {
      "key": "POSTGRESQL_DB_CREATE",
      "service": "Zammad",
      "description": "The Postgres service creates the database",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "ZAMMAD_ADMIN_PASSWORD",
      "service": "Zammad",
      "description": "Admin password, set on first boot only - copy it from here to log in, then change it in Zammad",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_HEALTHCHECK_TIMEOUT_SEC",
      "service": "Zammad",
      "description": "First boot creates the database and search index before the health check can pass",
      "secret": false,
      "strategy": "default",
      "default": "900"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Zammad",
      "description": "Time to finish running jobs on redeploy",
      "secret": false,
      "strategy": "default",
      "default": "30"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "zammad-7"
      }
    },
    "cli": "railway deploy --template zammad-7",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "d56b3579-0bbd-42ec-8825-0e3ac4f06df8",
            "serializedConfig": {
              "services": {
                "082f4729-5d5f-4dc9-adf9-e85fdf5ae273": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/elasticsearch.svg",
                  "name": "Elasticsearch",
                  "build": {},
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/nomideusz/zammad-railway",
                    "rootDirectory": "/elasticsearch"
                  },
                  "variables": {
                    "ES_JAVA_OPTS": {
                      "isOptional": false,
                      "description": "Java heap. 512 MB suits a small helpdesk; raise both values for large ticket volumes",
                      "defaultValue": "-Xms512m -Xmx512m"
                    },
                    "ELASTIC_PASSWORD": {
                      "isOptional": false,
                      "description": "Auto-generated password of the 'elastic' user",
                      "defaultValue": "{{ELASTIC_PASSWORD}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Time for Elasticsearch to shut down cleanly on redeploy",
                      "defaultValue": "30"
                    }
                  },
                  "networking": {
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "082f4729-5d5f-4dc9-adf9-e85fdf5ae273": {
                      "mountPath": "/usr/share/elasticsearch/data"
                    }
                  }
                },
                "170d8d03-27db-4fca-bdb3-c2e7b1dcb892": {
                  "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": "zammad_production"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Database user",
                      "defaultValue": "zammad"
                    },
                    "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": {
                    "170d8d03-27db-4fca-bdb3-c2e7b1dcb892": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "3725cfbc-82ef-4407-ac27-04eb730cee4e": {
                  "icon": "https://devicons.railway.app/i/redis.svg",
                  "name": "Redis",
                  "build": {},
                  "deploy": {
                    "startCommand": "/bin/sh -c \"exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save '' --appendonly no\"",
                    "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": {}
                  }
                },
                "b8512d33-1e11-4026-9b2f-f01c7c74e8e4": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/zammad.svg",
                  "name": "Zammad",
                  "build": {},
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/api/v1/signshow",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/nomideusz/zammad-railway",
                    "rootDirectory": "/zammad"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port nginx listens on in front of Zammad - leave as is",
                      "defaultValue": "8080"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Redis for websocket sessions - private network, leave as is",
                      "defaultValue": "redis://default:${{Redis.REDIS_PASSWORD}}@${{Redis.RAILWAY_PRIVATE_DOMAIN}}:6379"
                    },
                    "ZAMMAD_FQDN": {
                      "isOptional": false,
                      "description": "Domain used in links and emails - set it to your custom domain when you add one",
                      "defaultValue": "${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "POSTGRESQL_DB": {
                      "isOptional": false,
                      "description": "Postgres database - leave as is",
                      "defaultValue": "${{Postgres.POSTGRES_DB}}"
                    },
                    "POSTGRESQL_HOST": {
                      "isOptional": false,
                      "description": "Postgres host - private network, leave as is",
                      "defaultValue": "${{Postgres.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "POSTGRESQL_PASS": {
                      "isOptional": false,
                      "description": "Postgres password - leave as is",
                      "defaultValue": "${{Postgres.POSTGRES_PASSWORD}}"
                    },
                    "POSTGRESQL_PORT": {
                      "isOptional": false,
                      "description": "Postgres port",
                      "defaultValue": "5432"
                    },
                    "POSTGRESQL_USER": {
                      "isOptional": false,
                      "description": "Postgres user - leave as is",
                      "defaultValue": "${{Postgres.POSTGRES_USER}}"
                    },
                    "ZAMMAD_HTTP_TYPE": {
                      "isOptional": false,
                      "description": "Scheme used in links and emails",
                      "defaultValue": "https"
                    },
                    "ELASTICSEARCH_HOST": {
                      "isOptional": false,
                      "description": "Elasticsearch host - private network, leave as is",
                      "defaultValue": "${{Elasticsearch.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "ELASTICSEARCH_PASS": {
                      "isOptional": false,
                      "description": "Elasticsearch password - leave as is",
                      "defaultValue": "${{Elasticsearch.ELASTIC_PASSWORD}}"
                    },
                    "ELASTICSEARCH_PORT": {
                      "isOptional": false,
                      "description": "Elasticsearch port",
                      "defaultValue": "9200"
                    },
                    "ELASTICSEARCH_USER": {
                      "isOptional": false,
                      "description": "Elasticsearch user",
                      "defaultValue": "elastic"
                    },
                    "ZAMMAD_ADMIN_EMAIL": {
                      "isOptional": false,
                      "description": "Your email - the admin login, created on first boot",
                      "defaultValue": "{{ZAMMAD_ADMIN_EMAIL}}"
                    },
                    "ZAMMAD_ORGANIZATION": {
                      "isOptional": false,
                      "description": "Your company name, shown in Zammad and in emails. Set on first boot only",
                      "defaultValue": "My Company"
                    },
                    "ELASTICSEARCH_SCHEMA": {
                      "isOptional": false,
                      "description": "Elasticsearch scheme",
                      "defaultValue": "http"
                    },
                    "POSTGRESQL_DB_CREATE": {
                      "isOptional": false,
                      "description": "The Postgres service creates the database",
                      "defaultValue": "false"
                    },
                    "ZAMMAD_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Admin password, set on first boot only - copy it from here to log in, then change it in Zammad",
                      "defaultValue": "{{ZAMMAD_ADMIN_PASSWORD}}"
                    },
                    "RAILWAY_HEALTHCHECK_TIMEOUT_SEC": {
                      "isOptional": false,
                      "description": "First boot creates the database and search index before the health check can pass",
                      "defaultValue": "900"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Time to finish running jobs on redeploy",
                      "defaultValue": "30"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Zammad",
      "method": "GET",
      "path": "/api/v1/signshow",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 4,
    "needs_volume": true
  },
  "generated_at": "2026-09-27T22:14:44.387Z",
  "generator_version": "0.1.0"
}
