{
  "manifest_version": "1.0.0",
  "template": {
    "id": "e52441e9-b356-4d45-8b3d-0f1bfcbb17cf",
    "slug": "listmonk-or-just-updated-mailchimp-alter",
    "name": "Listmonk | (Just Updated) Mailchimp Alternative Nobody Else Can Claim Before You Do",
    "description": "Newsletter manager that seeds its own admin and fixes unsubscribe links",
    "url": "https://railway.com/deploy/listmonk-or-just-updated-mailchimp-alter",
    "upstream": {
      "image": "ghcr.io/bon5co/listmonk-railway:6.2.0"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "postgres",
      "source": {
        "image": "postgres:17-alpine"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql",
      "http": false
    },
    {
      "name": "listmonk",
      "source": {
        "image": "ghcr.io/bon5co/listmonk-railway:6.2.0"
      },
      "needs_volume": true,
      "volume_mount_path": "/listmonk/uploads",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "POSTGRES_PASSWORD",
      "service": "postgres",
      "description": "Provide a value for POSTGRES_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "LISTMONK_db__host",
      "service": "listmonk",
      "description": "Provide a value for LISTMONK_db__host.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "LISTMONK_db__port",
      "service": "listmonk",
      "description": "Provide a value for LISTMONK_db__port.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "LISTMONK_db__user",
      "service": "listmonk",
      "description": "Provide a value for LISTMONK_db__user.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "LISTMONK_ADMIN_USER",
      "service": "listmonk",
      "description": "Provide a value for LISTMONK_ADMIN_USER.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "LISTMONK_ADMIN_EMAIL",
      "service": "listmonk",
      "description": "Provide a value for LISTMONK_ADMIN_EMAIL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "LISTMONK_db__database",
      "service": "listmonk",
      "description": "Provide a value for LISTMONK_db__database.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "LISTMONK_db__password",
      "service": "listmonk",
      "description": "Provide a value for LISTMONK_db__password.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "LISTMONK_db__ssl_mode",
      "service": "listmonk",
      "description": "Provide a value for LISTMONK_db__ssl_mode.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "LISTMONK_ADMIN_PASSWORD",
      "service": "listmonk",
      "description": "Provide a value for LISTMONK_ADMIN_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "listmonk-or-just-updated-mailchimp-alter"
      }
    },
    "cli": "railway deploy --template listmonk-or-just-updated-mailchimp-alter",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "e52441e9-b356-4d45-8b3d-0f1bfcbb17cf",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "7cd5c5a0-abf4-4a10-a817-193a35188520": {
                  "icon": null,
                  "name": "postgres",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "postgres:17-alpine"
                  },
                  "variables": {
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "7cd5c5a0-abf4-4a10-a817-193a35188520": {
                      "mountPath": "/var/lib/postgresql"
                    }
                  }
                },
                "7d97aa43-af05-48f3-b897-fba360768420": {
                  "icon": null,
                  "name": "listmonk",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/bon5co/listmonk-railway:6.2.0"
                  },
                  "variables": {
                    "LISTMONK_db__host": {
                      "isOptional": false,
                      "defaultValue": "${{postgres.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "LISTMONK_db__port": {
                      "isOptional": false,
                      "defaultValue": "{{LISTMONK_db__port}}"
                    },
                    "LISTMONK_db__user": {
                      "isOptional": false,
                      "defaultValue": "{{LISTMONK_db__user}}"
                    },
                    "LISTMONK_ADMIN_USER": {
                      "isOptional": false,
                      "defaultValue": "{{LISTMONK_ADMIN_USER}}"
                    },
                    "LISTMONK_ADMIN_EMAIL": {
                      "isOptional": false,
                      "defaultValue": "admin@${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "LISTMONK_db__database": {
                      "isOptional": false,
                      "defaultValue": "{{LISTMONK_db__database}}"
                    },
                    "LISTMONK_db__password": {
                      "isOptional": false,
                      "defaultValue": "${{postgres.POSTGRES_PASSWORD}}"
                    },
                    "LISTMONK_db__ssl_mode": {
                      "isOptional": false,
                      "defaultValue": "{{LISTMONK_db__ssl_mode}}"
                    },
                    "LISTMONK_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{LISTMONK_ADMIN_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "7d97aa43-af05-48f3-b897-fba360768420": {
                      "mountPath": "/listmonk/uploads"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "listmonk",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-05T17:54:19.086Z",
  "generator_version": "0.1.0"
}
