| 1 | import * as Railway from "alchemy/Railway"; |
| 2 | import { Site } from "./shared.ts"; |
| 3 | |
| 4 | /** |
| 5 | * Image Service. No bundle, no registry. Railway pulls |
| 6 | * `hashicorp/http-echo` and answers on port 5678. Same idea as a |
| 7 | * Fly.Machine with a public image. |
| 8 | */ |
| 9 | export const Echo = Railway.Service("Echo", { |
| 10 | project: Site, |
| 11 | image: "hashicorp/http-echo", |
| 12 | port: 5678, |
| 13 | healthcheck: "/health", |
| 14 | }); |