{
  "manifest_version": "1.0.0",
  "template": {
    "id": "5a8921cc-a9bd-46e7-adf4-920703aa7e52",
    "slug": "wallabag",
    "name": "wallabag",
    "description": "Save and classify articles. Read them later. Freely.",
    "url": "https://railway.com/deploy/wallabag",
    "upstream": {
      "image": "wallabag/wallabag"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2.1"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "MariaDB",
      "source": {
        "image": "mariadb:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/mysql",
      "http": false
    },
    {
      "name": "wallabag",
      "source": {
        "image": "wallabag/wallabag"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/www/wallabag/web/assets/images",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "Provide a value for REDISHOST.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Provide a value for REDISPORT.",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "Provide a value for REDISUSER.",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "Provide a value for REDIS_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "Redis",
      "description": "Provide a value for REDISPASSWORD.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Provide a value for REDIS_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "REDIS_PUBLIC_URL",
      "service": "Redis",
      "description": "Provide a value for REDIS_PUBLIC_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MARIADB_HOST",
      "service": "MariaDB",
      "description": "Provide a value for MARIADB_HOST.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "MARIADB_PORT",
      "service": "MariaDB",
      "description": "Provide a value for MARIADB_PORT.",
      "secret": false,
      "strategy": "default",
      "default": "3306"
    },
    {
      "key": "MARIADB_PRIVATE_URL",
      "service": "MariaDB",
      "description": "Provide a value for MARIADB_PRIVATE_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MARIADB_ROOT_PASSWORD",
      "service": "MariaDB",
      "description": "Provide a value for MARIADB_ROOT_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "PORT",
      "service": "wallabag",
      "description": "Webserver port",
      "secret": false,
      "strategy": "default",
      "default": "80"
    },
    {
      "key": "SMTP_HOST",
      "service": "wallabag",
      "description": "Example: smtp.resend.com",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "SMTP_PORT",
      "service": "wallabag",
      "description": "Defaults to 465",
      "secret": false,
      "strategy": "default",
      "default": "465"
    },
    {
      "key": "SMTP_USER",
      "service": "wallabag",
      "description": "Example: resend",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "SMTP_DOMAIN",
      "service": "wallabag",
      "description": "Example: mydomain.com (the sending domain on resend.com)",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "SMTP_PASSWORD",
      "service": "wallabag",
      "description": "Example: re_234234234234234324234234",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "MYSQL_ROOT_PASSWORD",
      "service": "wallabag",
      "description": "Provide a value for MYSQL_ROOT_PASSWORD.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SYMFONY__ENV__SECRET",
      "service": "wallabag",
      "description": "Provide a value for SYMFONY__ENV__SECRET.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "ENABLE_USER_REGISTRATION",
      "service": "wallabag",
      "description": "Enable/Disable user registration on landing page: \"true\" or \"false\". Set to \"true\" initially to create your first user.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "SYMFONY__ENV__FROM_EMAIL",
      "service": "wallabag",
      "description": "Provide a value for SYMFONY__ENV__FROM_EMAIL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SYMFONY__ENV__MAILER_DSN",
      "service": "wallabag",
      "description": "Provide a value for SYMFONY__ENV__MAILER_DSN.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SYMFONY__ENV__REDIS_HOST",
      "service": "wallabag",
      "description": "Provide a value for SYMFONY__ENV__REDIS_HOST.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SYMFONY__ENV__DOMAIN_NAME",
      "service": "wallabag",
      "description": "Provide a value for SYMFONY__ENV__DOMAIN_NAME.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "SYMFONY__ENV__SERVER_NAME",
      "service": "wallabag",
      "description": "Provide a value for SYMFONY__ENV__SERVER_NAME.",
      "secret": false,
      "strategy": "default",
      "default": "Wallabag"
    },
    {
      "key": "SYMFONY__ENV__DATABASE_HOST",
      "service": "wallabag",
      "description": "Provide a value for SYMFONY__ENV__DATABASE_HOST.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SYMFONY__ENV__DATABASE_NAME",
      "service": "wallabag",
      "description": "Provide a value for SYMFONY__ENV__DATABASE_NAME.",
      "secret": false,
      "strategy": "default",
      "default": "wallabag"
    },
    {
      "key": "SYMFONY__ENV__DATABASE_PORT",
      "service": "wallabag",
      "description": "Provide a value for SYMFONY__ENV__DATABASE_PORT.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SYMFONY__ENV__DATABASE_USER",
      "service": "wallabag",
      "description": "Provide a value for SYMFONY__ENV__DATABASE_USER.",
      "secret": false,
      "strategy": "default",
      "default": "wallabag"
    },
    {
      "key": "SYMFONY__ENV__REDIS_PASSWORD",
      "service": "wallabag",
      "description": "Provide a value for SYMFONY__ENV__REDIS_PASSWORD.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SYMFONY__ENV__DATABASE_DRIVER",
      "service": "wallabag",
      "description": "Provide a value for SYMFONY__ENV__DATABASE_DRIVER.",
      "secret": false,
      "strategy": "default",
      "default": "pdo_mysql"
    },
    {
      "key": "SYMFONY__ENV__DATABASE_CHARSET",
      "service": "wallabag",
      "description": "Provide a value for SYMFONY__ENV__DATABASE_CHARSET.",
      "secret": false,
      "strategy": "default",
      "default": "utf8mb4"
    },
    {
      "key": "SYMFONY__ENV__TWOFACTOR_SENDER",
      "service": "wallabag",
      "description": "Provide a value for SYMFONY__ENV__TWOFACTOR_SENDER.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SYMFONY__ENV__DATABASE_PASSWORD",
      "service": "wallabag",
      "description": "Provide a value for SYMFONY__ENV__DATABASE_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "SYMFONY__ENV__FOSUSER_REGISTRATION",
      "service": "wallabag",
      "description": "Provide a value for SYMFONY__ENV__FOSUSER_REGISTRATION.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SYMFONY__ENV__DATABASE_TABLE_PREFIX",
      "service": "wallabag",
      "description": "Provide a value for SYMFONY__ENV__DATABASE_TABLE_PREFIX.",
      "secret": false,
      "strategy": "default",
      "default": "wallabag_"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "wallabag"
      }
    },
    "cli": "railway deploy --template wallabag",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "5a8921cc-a9bd-46e7-adf4-920703aa7e52",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "2989da11-a4ad-441d-9815-e23deaa9e779": {
                  "icon": "https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.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.1"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": false,
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "defaultValue": "redis://${{REDISUSER}}:${{REDIS_PASSWORD}}@${{REDISHOST}}:${{REDISPORT}}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": false,
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    },
                    "REDIS_PUBLIC_URL": {
                      "isOptional": false,
                      "defaultValue": "redis://default:${{REDIS_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}"
                    }
                  },
                  "volumeMounts": {
                    "2989da11-a4ad-441d-9815-e23deaa9e779": {
                      "mountPath": "/data"
                    }
                  },
                  "haTemplateCode": "redis-ha",
                  "haConversionConfig": {
                    "edge": {
                      "label": "Reverse Proxies",
                      "options": [
                        1,
                        2
                      ],
                      "nodeLabel": "HAProxy",
                      "description": "HAProxy instances routing writes to the primary",
                      "defaultValue": 2
                    },
                    "replica": {
                      "label": "Redis Replicas",
                      "options": [
                        2,
                        3,
                        4,
                        5
                      ],
                      "nodeLabel": "Redis",
                      "description": "Nodes running Redis + colocated Sentinel",
                      "defaultValue": 2
                    },
                    "internal": null,
                    "description": "This will convert your Redis instance to an HA cluster with Sentinel failover and HAProxy routing to the primary."
                  }
                },
                "7d2500c2-9cf8-4824-98ed-d53252fda4be": {
                  "icon": "https://www.svgrepo.com/show/373824/mariadb.svg",
                  "name": "MariaDB",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "mariadb:latest"
                  },
                  "variables": {
                    "MARIADB_HOST": {
                      "isOptional": false,
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "MARIADB_PORT": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "3306"
                    },
                    "MARIADB_PRIVATE_URL": {
                      "isOptional": false,
                      "defaultValue": "mariadb://${{MARIADB_USER}}:${{MARIADB_PASSWORD}}@${{MARIADB_HOST}}:${{MARIADB_PORT}}/${{MARIADB_DATABASE}}"
                    },
                    "MARIADB_ROOT_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{MARIADB_ROOT_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "7d2500c2-9cf8-4824-98ed-d53252fda4be": {
                      "mountPath": "/var/lib/mysql"
                    }
                  }
                },
                "bc965310-9ca2-494b-892c-9c3aaea00ef3": {
                  "icon": "https://www.svgrepo.com/show/331637/wallabag.svg",
                  "name": "wallabag",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/login",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "wallabag/wallabag"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Webserver port",
                      "defaultValue": "80"
                    },
                    "SMTP_HOST": {
                      "isOptional": false,
                      "description": "Example: smtp.resend.com",
                      "defaultValue": "{{SMTP_HOST}}"
                    },
                    "SMTP_PORT": {
                      "isOptional": false,
                      "description": "Defaults to 465",
                      "defaultValue": "465"
                    },
                    "SMTP_USER": {
                      "isOptional": false,
                      "description": "Example: resend",
                      "defaultValue": "{{SMTP_USER}}"
                    },
                    "SMTP_DOMAIN": {
                      "isOptional": false,
                      "description": "Example: mydomain.com (the sending domain on resend.com)",
                      "defaultValue": "{{SMTP_DOMAIN}}"
                    },
                    "SMTP_PASSWORD": {
                      "isOptional": false,
                      "description": "Example: re_234234234234234324234234",
                      "defaultValue": "{{SMTP_PASSWORD}}"
                    },
                    "MYSQL_ROOT_PASSWORD": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "${{MariaDB.MARIADB_ROOT_PASSWORD}}"
                    },
                    "SYMFONY__ENV__SECRET": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "{{SYMFONY__ENV__SECRET}}"
                    },
                    "ENABLE_USER_REGISTRATION": {
                      "isOptional": false,
                      "description": "Enable/Disable user registration on landing page: \"true\" or \"false\". Set to \"true\" initially to create your first user.",
                      "defaultValue": "{{ENABLE_USER_REGISTRATION}}"
                    },
                    "SYMFONY__ENV__FROM_EMAIL": {
                      "isOptional": false,
                      "defaultValue": "wallabag@${{SMTP_DOMAIN}}"
                    },
                    "SYMFONY__ENV__MAILER_DSN": {
                      "isOptional": false,
                      "defaultValue": "smtp://${{SMTP_USER}}:${{SMTP_PASSWORD}}@${{SMTP_HOST}}:${{SMTP_PORT}}"
                    },
                    "SYMFONY__ENV__REDIS_HOST": {
                      "isOptional": false,
                      "defaultValue": "${{Redis.REDISHOST}}"
                    },
                    "SYMFONY__ENV__DOMAIN_NAME": {
                      "isOptional": false,
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "SYMFONY__ENV__SERVER_NAME": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "Wallabag"
                    },
                    "SYMFONY__ENV__DATABASE_HOST": {
                      "isOptional": false,
                      "defaultValue": "${{MariaDB.MARIADB_HOST}}"
                    },
                    "SYMFONY__ENV__DATABASE_NAME": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "wallabag"
                    },
                    "SYMFONY__ENV__DATABASE_PORT": {
                      "isOptional": false,
                      "defaultValue": "${{MariaDB.MARIADB_PORT}}"
                    },
                    "SYMFONY__ENV__DATABASE_USER": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "wallabag"
                    },
                    "SYMFONY__ENV__REDIS_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "${{Redis.REDIS_PASSWORD}}"
                    },
                    "SYMFONY__ENV__DATABASE_DRIVER": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "pdo_mysql"
                    },
                    "SYMFONY__ENV__DATABASE_CHARSET": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "utf8mb4"
                    },
                    "SYMFONY__ENV__TWOFACTOR_SENDER": {
                      "isOptional": false,
                      "defaultValue": "no-reply@${{SMTP_DOMAIN}}"
                    },
                    "SYMFONY__ENV__DATABASE_PASSWORD": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "{{SYMFONY__ENV__DATABASE_PASSWORD}}"
                    },
                    "SYMFONY__ENV__FOSUSER_REGISTRATION": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "${{ENABLE_USER_REGISTRATION}}"
                    },
                    "SYMFONY__ENV__DATABASE_TABLE_PREFIX": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "wallabag_"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:80": {
                        "port": 80
                      }
                    }
                  },
                  "volumeMounts": {
                    "bc965310-9ca2-494b-892c-9c3aaea00ef3": {
                      "mountPath": "/var/www/wallabag/web/assets/images"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "wallabag",
      "method": "GET",
      "path": "/login",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 3,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T04:14:40.089Z",
  "generator_version": "0.1.0"
}
