Overview
Reaction Commerce Preview Environment is reaction Commerce - a real-time, event-driven headless commerce platform. This is a preview and staging profile of Reaction Commerce, meant as a disposable environment for testing changes and reviewing builds before they are promoted to production. Through DockerCP you can launch it on your own server with persistent volumes, a mapped domain, and automatic SSL. Environment variables, default ports, and storage volumes come pre-configured, so you can deploy and start using it right away.
How deployment works in DockerCP
This template gives DockerCP the deployment metadata needed to create a service, prepare runtime variables, map persistent storage, expose the internal port, and connect a public domain with SSL when required.
- Create or select a project where the service belongs.
- Review the Docker image, tag, default port, environment variables, and volume mappings.
- Deploy the service and check logs until the application is healthy.
- Attach a domain or subdomain when the application must be available publicly.
- Enable HTTPS and verify the final browser response.
Configuration
Environment variables
| Variable | Default / guidance |
|---|---|
APP_ENV |
production |
APP_PORT |
3000 |
APP_URL |
https://example.com |
Persistent volumes
| Volume | Mount path |
|---|---|
| reaction_commerce_preview_environment_data | /data |
Commands
DockerCP handles deployment from the panel, but understanding the equivalent Docker commands helps users debug services with more confidence.
docker pull reactioncommerce/reaction:latest
docker ps --filter "name=reaction-commerce-preview-environment"
docker logs --tail=100 reaction-commerce-preview-environment
DNS and SSL checklist
| Step | Expected result |
|---|---|
| Add A or CNAME record | The domain points to the DockerCP server or configured target. |
| Attach domain to service | The service is reachable through the selected hostname. |
| Enable HTTPS | The certificate becomes active and redirect to HTTPS can be enabled. |
Screenshots
Panel previews for the Reaction Commerce Preview Environment template: how deployment, the running service, and its key details look inside DockerCP.
Stand up a short-lived Reaction Commerce preview to try changes safely before promotion, a real-time, event-driven headless commerce platform.
Troubleshoot
- Confirm the Docker image and tag exist.
- Confirm the selected internal port matches the application port.
- Confirm required variables such as database URL, app URL, and credentials are set.
- Check service logs after the first deployment.
- Verify DNS before requesting or renewing SSL certificates.