Deploy WireMock Staging Sandbox

WireMock staging sandbox with editable fixtures and secure admin access.

Deploy WireMock Staging Sandbox

Just deployed

Deploy and Host WireMock Staging Sandbox on Railway

About Hosting WireMock Staging Sandbox

Deploy a WireMock sandbox for shared staging and CI. The template uses wiremock/wiremock:3.13.2, generates an independent admin password for every installation, and ships a working mock order API and a health endpoint.

Why Deploy WireMock on Railway

Give services inside a Railway project a stable endpoint for exercising integrations with synthetic data. The admin API requires credentials, so trusted teammates and CI jobs can manage mappings.

Common Use Cases

  • Test an API client against predictable order responses.
  • Share mock endpoints between services in a staging environment.

Dependencies for WireMock Staging Sandbox

Deployment Dependencies

Try it after deployment

From a service in the same Railway project, call http://wiremock.railway.internal:8080/v1/orders/ord_demo. If you want a remote CI runner to reach these synthetic fixtures, give WireMock a Railway HTTPS domain in the service's networking settings and use that URL. Keep fixtures with private data inside your own staging network.

Edit WIREMOCK_ORDER_FIXTURE in Railway variables and redeploy to change the example response. For additional mappings, use the WireMock mapping format and the authenticated admin API. To persist extra mappings across image restarts, keep them in your own image or Git-backed deployment source.

Authenticate to the admin API

Open the service's Variables tab and copy the generated WIREMOCK_ADMIN_PASSWORD. The default user is admin.

curl -fsS -u "admin:$WIREMOCK_ADMIN_PASSWORD" "$WIREMOCK_URL/__admin/mappings"

Normal mock calls and /healthz are reachable on the configured network. The admin API requires Basic authentication. Use HTTPS for admin calls over a public Railway domain. Upstream WireMock Docker image


Template Content

More templates in this category

View Template
Rocky Linux
Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀

codestorm
51
View Template
Foundry Virtual Tabletop
Self-hosted virtual tabletop for role-playing games (license required)

Lucas
71
View Template
Double Commander in your browser
The Double Commander file manager in the cloud, from any device

Nermin Sabanovic
0