To run all services (slim server, mock app server, and mock app client) using Docker Compose:
cd data-plane/examples
# Build and start all services
DOCKER_BUILDKIT=1 docker compose up --buildThis will:
- Build all images (slim-server, mock-app-server, mock-app-client)
- Start the slim server
- Start the mock app server
- Start the mock app client (which will send a message)
To stop and remove all containers:
docker compose downYou can also run each service locally using Taskfile:
- In the first terminal, run the slim service:
task run:slim
- In the second terminal, run the mock-app server:
task run:mock-app:server
- In the third terminal, run the mock-app client:
task run:mock-app:client
- In the first terminal, run the slim service:
task run:slim:websocket
- In the second terminal, run the mock-app server:
task run:mock-app:server-websocket
- In the third terminal, run the mock-app client:
task run:mock-app:client-websocket
- In the first terminal, run the slim service:
task run:slim:websocket:wss
- In the second terminal, run the mock-app server:
task run:mock-app:server-websocket-wss
- In the third terminal, run the mock-app client:
task run:mock-app:client-websocket-wss