{
  "manifest_version": "1.0.0",
  "template": {
    "id": "3c90a297-74af-4426-9aaa-4f8b7498e43e",
    "slug": "authelia-sso",
    "name": "Authelia",
    "description": "Authelia SSO and 2FA portal with lldap directory, PostgreSQL & Redis",
    "url": "https://railway.com/deploy/authelia-sso",
    "upstream": {
      "image": "axllent/mailpit:latest"
    }
  },
  "services": [
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "mailpit",
      "source": {
        "image": "axllent/mailpit:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    },
    {
      "name": "lldap",
      "source": {
        "image": "lldap/lldap:stable"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    },
    {
      "name": "authelia",
      "source": {
        "repo": "https://github.com/gridalpha/authelia-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/config",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "Private connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "Redis",
      "description": "Data panel alias, not read by the server",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Auth password, read by the server",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Cluster location on the volume",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "PGHOST",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "PGUSER",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Database created on first boot",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "DATABASE_URL",
      "service": "Postgres",
      "description": "Private connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "Superuser created on first boot",
      "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": "Superuser password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Clean shutdown window",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "PORT",
      "service": "mailpit",
      "description": "Inbox HTTP port",
      "secret": false,
      "strategy": "default",
      "default": "8025"
    },
    {
      "key": "MP_UI_AUTH",
      "service": "mailpit",
      "description": "Basic auth for the inbox UI",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "MP_DATABASE",
      "service": "mailpit",
      "description": "Message store on the volume",
      "secret": false,
      "strategy": "default",
      "default": "/data/mailpit.db"
    },
    {
      "key": "MP_SMTP_AUTH",
      "service": "mailpit",
      "description": "Required SMTP credentials",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SMTP_PASSWORD",
      "service": "mailpit",
      "description": "SMTP account password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "SMTP_USERNAME",
      "service": "mailpit",
      "description": "SMTP account username",
      "secret": false,
      "strategy": "default",
      "default": "authelia"
    },
    {
      "key": "MP_MAX_MESSAGES",
      "service": "mailpit",
      "description": "Messages retained before rotation",
      "secret": false,
      "strategy": "default",
      "default": "5000"
    },
    {
      "key": "MP_UI_BIND_ADDR",
      "service": "mailpit",
      "description": "Inbox bind address",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0:8025"
    },
    {
      "key": "MP_SMTP_BIND_ADDR",
      "service": "mailpit",
      "description": "SMTP bind address, IPv6 for private networking",
      "secret": false,
      "strategy": "default",
      "default": "[::]:1025"
    },
    {
      "key": "MP_SMTP_AUTH_ALLOW_INSECURE",
      "service": "mailpit",
      "description": "Allow AUTH on the plaintext listener",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "PORT",
      "service": "lldap",
      "description": "Admin UI HTTP port",
      "secret": false,
      "strategy": "default",
      "default": "17170"
    },
    {
      "key": "LLDAP_HTTP_URL",
      "service": "lldap",
      "description": "Public URL for reset links",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "LLDAP_KEY_SEED",
      "service": "lldap",
      "description": "Seeds the password encryption key",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "LLDAP_HTTP_HOST",
      "service": "lldap",
      "description": "Admin UI bind address",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0"
    },
    {
      "key": "LLDAP_HTTP_PORT",
      "service": "lldap",
      "description": "Admin UI port",
      "secret": false,
      "strategy": "default",
      "default": "17170"
    },
    {
      "key": "LLDAP_LDAP_HOST",
      "service": "lldap",
      "description": "LDAP bind address, IPv6 for private networking",
      "secret": false,
      "strategy": "default",
      "default": "::"
    },
    {
      "key": "LLDAP_LDAP_PORT",
      "service": "lldap",
      "description": "LDAP port, private only",
      "secret": false,
      "strategy": "default",
      "default": "3890"
    },
    {
      "key": "LLDAP_JWT_SECRET",
      "service": "lldap",
      "description": "Signs admin UI sessions",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "LLDAP_DATABASE_URL",
      "service": "lldap",
      "description": "Directory database on the volume",
      "secret": false,
      "strategy": "default",
      "default": "sqlite:///data/users.db?mode=rwc"
    },
    {
      "key": "LLDAP_LDAP_BASE_DN",
      "service": "lldap",
      "description": "Directory base DN",
      "secret": false,
      "strategy": "default",
      "default": "dc=example,dc=com"
    },
    {
      "key": "LLDAP_LDAP_USER_DN",
      "service": "lldap",
      "description": "Admin username",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "LLDAP_LDAP_USER_PASS",
      "service": "lldap",
      "description": "Admin password, also the Authelia login",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "LLDAP_LDAP_USER_EMAIL",
      "service": "lldap",
      "description": "Admin email address",
      "secret": false,
      "strategy": "default",
      "default": "admin@example.com"
    },
    {
      "key": "LLDAP_SMTP_OPTIONS__FROM",
      "service": "lldap",
      "description": "Sender address",
      "secret": false,
      "strategy": "default",
      "default": "LLDAP Admin <lldap@example.com>"
    },
    {
      "key": "LLDAP_SMTP_OPTIONS__PORT",
      "service": "lldap",
      "description": "SMTP port",
      "secret": false,
      "strategy": "default",
      "default": "1025"
    },
    {
      "key": "LLDAP_SMTP_OPTIONS__USER",
      "service": "lldap",
      "description": "SMTP username",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "LLDAP_SMTP_OPTIONS__SERVER",
      "service": "lldap",
      "description": "SMTP host",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "LLDAP_SMTP_OPTIONS__PASSWORD",
      "service": "lldap",
      "description": "SMTP password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "LLDAP_SMTP_OPTIONS__SMTP_ENCRYPTION",
      "service": "lldap",
      "description": "Private plaintext SMTP",
      "secret": false,
      "strategy": "default",
      "default": "NONE"
    },
    {
      "key": "LLDAP_SMTP_OPTIONS__ENABLE_PASSWORD_RESET",
      "service": "lldap",
      "description": "Enable password reset email",
      "secret": true,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "PORT",
      "service": "authelia",
      "description": "Portal HTTP listening port",
      "secret": false,
      "strategy": "default",
      "default": "9091"
    },
    {
      "key": "SMTP_HOST",
      "service": "authelia",
      "description": "Mail host, repoint for production",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "SMTP_PORT",
      "service": "authelia",
      "description": "SMTP port",
      "secret": false,
      "strategy": "default",
      "default": "1025"
    },
    {
      "key": "REDIS_HOST",
      "service": "authelia",
      "description": "Private cache hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDIS_PORT",
      "service": "authelia",
      "description": "Redis port",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "LDAP_ADDRESS",
      "service": "authelia",
      "description": "Directory address",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "LDAP_BASE_DN",
      "service": "authelia",
      "description": "Directory base DN",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_HOST",
      "service": "authelia",
      "description": "Private database hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_PORT",
      "service": "authelia",
      "description": "Database port",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "POSTGRES_USER",
      "service": "authelia",
      "description": "Database user",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SMTP_PASSWORD",
      "service": "authelia",
      "description": "SMTP password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SMTP_USERNAME",
      "service": "authelia",
      "description": "SMTP username",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "OIDC_CLIENT_ID",
      "service": "authelia",
      "description": "Registers one OpenID Connect client",
      "secret": false,
      "strategy": "default",
      "default": "app"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "authelia",
      "description": "Redis password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_USERNAME",
      "service": "authelia",
      "description": "Redis ACL username",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SESSION_SECRET",
      "service": "authelia",
      "description": "Encrypts session data in Redis",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "LDAP_ADMIN_USER",
      "service": "authelia",
      "description": "Bind account username",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "OIDC_CLIENT_NAME",
      "service": "authelia",
      "description": "Name shown on the consent screen",
      "secret": false,
      "strategy": "default",
      "default": "My Application"
    },
    {
      "key": "OIDC_HMAC_SECRET",
      "service": "authelia",
      "description": "Signs OAuth 2.0 tokens",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "POSTGRES_DATABASE",
      "service": "authelia",
      "description": "Database name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "authelia",
      "description": "Database password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "LDAP_BIND_PASSWORD",
      "service": "authelia",
      "description": "Bind account password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "OIDC_CLIENT_SECRET",
      "service": "authelia",
      "description": "Plaintext secret, hashed at boot",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "STORAGE_ENCRYPTION_KEY",
      "service": "authelia",
      "description": "Encrypts secrets at rest",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "OIDC_CLIENT_REDIRECT_URIS",
      "service": "authelia",
      "description": "Set to your app callback",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "RESET_PASSWORD_JWT_SECRET",
      "service": "authelia",
      "description": "Signs password reset links",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "authelia-sso"
      }
    },
    "cli": "railway deploy --template authelia-sso",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "3c90a297-74af-4426-9aaa-4f8b7498e43e",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "5cb897de-a85d-437d-ad99-69c1ea2c1fc0": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/redis.svg",
                  "name": "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"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Private connection string",
                      "defaultValue": "redis://${{REDISUSER}}:${{REDIS_PASSWORD}}@${{REDISHOST}}:${{REDISPORT}}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Auth password, read by the server",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "5cb897de-a85d-437d-ad99-69c1ea2c1fc0": {
                      "mountPath": "/data"
                    }
                  }
                },
                "6c6aec0a-70fd-4e61-91fb-a7709cb8c08c": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/postgresql.svg",
                  "name": "Postgres",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Cluster location on the volume",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "5432"
                    },
                    "PGUSER": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{POSTGRES_USER}}"
                    },
                    "PGDATABASE": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Database created on first boot",
                      "defaultValue": "railway"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Private connection string",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Superuser created on first boot",
                      "defaultValue": "postgres"
                    },
                    "SSL_CERT_DAYS": {
                      "isOptional": false,
                      "description": "SSL certificate expiry in days",
                      "defaultValue": "820"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Superuser password",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Clean shutdown window",
                      "defaultValue": "60"
                    }
                  },
                  "volumeMounts": {
                    "6c6aec0a-70fd-4e61-91fb-a7709cb8c08c": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "9e2e5023-342c-438f-b9b0-6e563bc7181a": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/mailpit.svg",
                  "name": "mailpit",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "axllent/mailpit:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Inbox HTTP port",
                      "defaultValue": "8025"
                    },
                    "MP_UI_AUTH": {
                      "isOptional": false,
                      "description": "Basic auth for the inbox UI",
                      "defaultValue": "{{MP_UI_AUTH}}"
                    },
                    "MP_DATABASE": {
                      "isOptional": false,
                      "description": "Message store on the volume",
                      "defaultValue": "/data/mailpit.db"
                    },
                    "MP_SMTP_AUTH": {
                      "isOptional": false,
                      "description": "Required SMTP credentials",
                      "defaultValue": "${{SMTP_USERNAME}}:${{SMTP_PASSWORD}}"
                    },
                    "SMTP_PASSWORD": {
                      "isOptional": false,
                      "description": "SMTP account password",
                      "defaultValue": "{{SMTP_PASSWORD}}"
                    },
                    "SMTP_USERNAME": {
                      "isOptional": false,
                      "description": "SMTP account username",
                      "defaultValue": "authelia"
                    },
                    "MP_MAX_MESSAGES": {
                      "isOptional": false,
                      "description": "Messages retained before rotation",
                      "defaultValue": "5000"
                    },
                    "MP_UI_BIND_ADDR": {
                      "isOptional": false,
                      "description": "Inbox bind address",
                      "defaultValue": "0.0.0.0:8025"
                    },
                    "MP_SMTP_BIND_ADDR": {
                      "isOptional": false,
                      "description": "SMTP bind address, IPv6 for private networking",
                      "defaultValue": "[::]:1025"
                    },
                    "MP_SMTP_AUTH_ALLOW_INSECURE": {
                      "isOptional": false,
                      "description": "Allow AUTH on the plaintext listener",
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8025": {
                        "port": 8025
                      }
                    }
                  },
                  "volumeMounts": {
                    "9e2e5023-342c-438f-b9b0-6e563bc7181a": {
                      "mountPath": "/data"
                    }
                  }
                },
                "c2884914-b809-4b40-9eba-dbf380af09d1": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/lldap.svg",
                  "name": "lldap",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "lldap/lldap:stable"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Admin UI HTTP port",
                      "defaultValue": "17170"
                    },
                    "LLDAP_HTTP_URL": {
                      "isOptional": false,
                      "description": "Public URL for reset links",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "LLDAP_KEY_SEED": {
                      "isOptional": false,
                      "description": "Seeds the password encryption key",
                      "defaultValue": "{{LLDAP_KEY_SEED}}"
                    },
                    "LLDAP_HTTP_HOST": {
                      "isOptional": false,
                      "description": "Admin UI bind address",
                      "defaultValue": "0.0.0.0"
                    },
                    "LLDAP_HTTP_PORT": {
                      "isOptional": false,
                      "description": "Admin UI port",
                      "defaultValue": "17170"
                    },
                    "LLDAP_LDAP_HOST": {
                      "isOptional": false,
                      "description": "LDAP bind address, IPv6 for private networking",
                      "defaultValue": "::"
                    },
                    "LLDAP_LDAP_PORT": {
                      "isOptional": false,
                      "description": "LDAP port, private only",
                      "defaultValue": "3890"
                    },
                    "LLDAP_JWT_SECRET": {
                      "isOptional": false,
                      "description": "Signs admin UI sessions",
                      "defaultValue": "{{LLDAP_JWT_SECRET}}"
                    },
                    "LLDAP_DATABASE_URL": {
                      "isOptional": false,
                      "description": "Directory database on the volume",
                      "defaultValue": "sqlite:///data/users.db?mode=rwc"
                    },
                    "LLDAP_LDAP_BASE_DN": {
                      "isOptional": false,
                      "description": "Directory base DN",
                      "defaultValue": "dc=example,dc=com"
                    },
                    "LLDAP_LDAP_USER_DN": {
                      "isOptional": false,
                      "description": "Admin username",
                      "defaultValue": "admin"
                    },
                    "LLDAP_LDAP_USER_PASS": {
                      "isOptional": false,
                      "description": "Admin password, also the Authelia login",
                      "defaultValue": "{{LLDAP_LDAP_USER_PASS}}"
                    },
                    "LLDAP_LDAP_USER_EMAIL": {
                      "isOptional": false,
                      "description": "Admin email address",
                      "defaultValue": "admin@example.com"
                    },
                    "LLDAP_SMTP_OPTIONS__FROM": {
                      "isOptional": false,
                      "description": "Sender address",
                      "defaultValue": "LLDAP Admin <lldap@example.com>"
                    },
                    "LLDAP_SMTP_OPTIONS__PORT": {
                      "isOptional": false,
                      "description": "SMTP port",
                      "defaultValue": "1025"
                    },
                    "LLDAP_SMTP_OPTIONS__USER": {
                      "isOptional": false,
                      "description": "SMTP username",
                      "defaultValue": "${{mailpit.SMTP_USERNAME}}"
                    },
                    "LLDAP_SMTP_OPTIONS__SERVER": {
                      "isOptional": false,
                      "description": "SMTP host",
                      "defaultValue": "${{mailpit.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "LLDAP_SMTP_OPTIONS__PASSWORD": {
                      "isOptional": false,
                      "description": "SMTP password",
                      "defaultValue": "${{mailpit.SMTP_PASSWORD}}"
                    },
                    "LLDAP_SMTP_OPTIONS__SMTP_ENCRYPTION": {
                      "isOptional": false,
                      "description": "Private plaintext SMTP",
                      "defaultValue": "NONE"
                    },
                    "LLDAP_SMTP_OPTIONS__ENABLE_PASSWORD_RESET": {
                      "isOptional": false,
                      "description": "Enable password reset email",
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:17170": {
                        "port": 17170
                      }
                    }
                  },
                  "volumeMounts": {
                    "c2884914-b809-4b40-9eba-dbf380af09d1": {
                      "mountPath": "/data"
                    }
                  }
                },
                "e4cadbb1-81fa-482b-8493-ad4f0717fff9": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/authelia.svg",
                  "name": "authelia",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/authelia-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Portal HTTP listening port",
                      "defaultValue": "9091"
                    },
                    "SMTP_HOST": {
                      "isOptional": false,
                      "description": "Mail host, repoint for production",
                      "defaultValue": "${{mailpit.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "SMTP_PORT": {
                      "isOptional": false,
                      "description": "SMTP port",
                      "defaultValue": "1025"
                    },
                    "REDIS_HOST": {
                      "isOptional": false,
                      "description": "Private cache hostname",
                      "defaultValue": "${{Redis.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDIS_PORT": {
                      "isOptional": false,
                      "description": "Redis port",
                      "defaultValue": "6379"
                    },
                    "LDAP_ADDRESS": {
                      "isOptional": false,
                      "description": "Directory address",
                      "defaultValue": "ldap://${{lldap.RAILWAY_PRIVATE_DOMAIN}}:3890"
                    },
                    "LDAP_BASE_DN": {
                      "isOptional": false,
                      "description": "Directory base DN",
                      "defaultValue": "${{lldap.LLDAP_LDAP_BASE_DN}}"
                    },
                    "POSTGRES_HOST": {
                      "isOptional": false,
                      "description": "Private database hostname",
                      "defaultValue": "${{Postgres.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "POSTGRES_PORT": {
                      "isOptional": false,
                      "description": "Database port",
                      "defaultValue": "5432"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Database user",
                      "defaultValue": "${{Postgres.PGUSER}}"
                    },
                    "SMTP_PASSWORD": {
                      "isOptional": false,
                      "description": "SMTP password",
                      "defaultValue": "${{mailpit.SMTP_PASSWORD}}"
                    },
                    "SMTP_USERNAME": {
                      "isOptional": false,
                      "description": "SMTP username",
                      "defaultValue": "${{mailpit.SMTP_USERNAME}}"
                    },
                    "OIDC_CLIENT_ID": {
                      "isOptional": false,
                      "description": "Registers one OpenID Connect client",
                      "defaultValue": "app"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Redis password",
                      "defaultValue": "${{Redis.REDISPASSWORD}}"
                    },
                    "REDIS_USERNAME": {
                      "isOptional": false,
                      "description": "Redis ACL username",
                      "defaultValue": "${{Redis.REDISUSER}}"
                    },
                    "SESSION_SECRET": {
                      "isOptional": false,
                      "description": "Encrypts session data in Redis",
                      "defaultValue": "{{SESSION_SECRET}}"
                    },
                    "LDAP_ADMIN_USER": {
                      "isOptional": false,
                      "description": "Bind account username",
                      "defaultValue": "${{lldap.LLDAP_LDAP_USER_DN}}"
                    },
                    "OIDC_CLIENT_NAME": {
                      "isOptional": false,
                      "description": "Name shown on the consent screen",
                      "defaultValue": "My Application"
                    },
                    "OIDC_HMAC_SECRET": {
                      "isOptional": false,
                      "description": "Signs OAuth 2.0 tokens",
                      "defaultValue": "{{OIDC_HMAC_SECRET}}"
                    },
                    "POSTGRES_DATABASE": {
                      "isOptional": false,
                      "description": "Database name",
                      "defaultValue": "${{Postgres.PGDATABASE}}"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Database password",
                      "defaultValue": "${{Postgres.PGPASSWORD}}"
                    },
                    "LDAP_BIND_PASSWORD": {
                      "isOptional": false,
                      "description": "Bind account password",
                      "defaultValue": "${{lldap.LLDAP_LDAP_USER_PASS}}"
                    },
                    "OIDC_CLIENT_SECRET": {
                      "isOptional": false,
                      "description": "Plaintext secret, hashed at boot",
                      "defaultValue": "{{OIDC_CLIENT_SECRET}}"
                    },
                    "STORAGE_ENCRYPTION_KEY": {
                      "isOptional": false,
                      "description": "Encrypts secrets at rest",
                      "defaultValue": "{{STORAGE_ENCRYPTION_KEY}}"
                    },
                    "OIDC_CLIENT_REDIRECT_URIS": {
                      "isOptional": false,
                      "description": "Set to your app callback",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}/"
                    },
                    "RESET_PASSWORD_JWT_SECRET": {
                      "isOptional": false,
                      "description": "Signs password reset links",
                      "defaultValue": "{{RESET_PASSWORD_JWT_SECRET}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:9091": {
                        "port": 9091
                      }
                    }
                  },
                  "volumeMounts": {
                    "e4cadbb1-81fa-482b-8493-ad4f0717fff9": {
                      "mountPath": "/config"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 5,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-19T13:35:53.279Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_57e46b9261994a6eb6c2",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 106,
    "typical_build_seconds": 20,
    "typical_start_seconds": 10,
    "slowest_service": "authelia"
  }
}
