Docker
Deploy Memphis over Docker using Docker compose
Resource | Version / Quantity |
---|---|
Docker Engine | 17.03 and above |
Docker compose | v2 and above |
CPU | 1 CPU |
Memory | 4GB |
Storage | 6GB |
Stable -
curl -s https://memphisdev.github.io/memphis-docker/docker-compose.yml -o docker-compose.yml && docker compose -f docker-compose.yml -p memphis up
Latest -
curl -s https://memphisdev.github.io/memphis-docker/docker-compose-latest.yml -o docker-compose-latest.yml && docker compose -f docker-compose-latest.yml -p memphis up
Output:
[+] Running 3/3
⠿ Container memphis-memphis-1 Creating 0.2s 0.2s 0.2s
⠿ Container memphis-memphis-metadata-1 Creating 0.2s
⠿ memphis-memphis-rest-gateway-1 0.2s
- memphis-1: The broker itself which acts as the data storage layer. That is the component that stores and controls the ingested messages and their entire lifecycle management.
- memphis-metadata-1: Responsible for storing the platform metadata only, such as general information, monitoring, GUI state, and pointers to dead-letter messages. The metadata store uses Postgres.
- memphis-rest-gateway-1: Responsible for exposing Memphis management and data ingestion through REST requests.
UI
SDK
The default port of the UI is 9000:
http://localhost:9000
Default Username: root
Default Password: memphis
For more detailed information, head to the SDKs section below.
await memphis.connect({
host: "broker.sandbox.memphis.dev",
port: <port>, // defaults to 6666
username: "<application type username>",
connectionToken: "<connection_token>"
});
- host: Usually the control plane or through the UI URL. For example "https://memphis-ui.test.com/api".
- username: Usually "root". Head to the users' section via the UI or CLI to add more.
- connectionToken: Each app that produces and/or consumer data with Memphis uses token authentication. The default value is "memphis".
docker rm -f $(docker ps -a | grep -i memphis | awk '{print $1}')
docker image rm -f $(docker image ls | grep -i memphis)
curl -s https://memphisdev.github.io/memphis-docker/docker-compose.yml -o docker-compose.yml && docker compose -f docker-compose.yml -p memphis up
Last modified 5d ago