Merge 4fe662eb19
into f64113e267
commit
c2aa2feca9
@ -0,0 +1,7 @@
|
|||||||
|
## To run project in Phala TEE
|
||||||
|
|
||||||
|
1. Build the docker image and publish it to the docker hub
|
||||||
|
`docker compose build -t <your-dockerhub-username>/swarm-agent-node:latest`
|
||||||
|
`docker push <your-dockerhub-username>/swarm-agent-node:latest`
|
||||||
|
2. Deploy to Phala cloud using [tee-cloud-cli](https://github.com/Phala-Network/tee-cloud-cli) or manually with the [Cloud dashboard](https://cloud.phala.network/).
|
||||||
|
3. Check your agent's TEE proof and verify it on the [TEE Attestation Explorer](https://proof.t16z.com/).
|
@ -0,0 +1,19 @@
|
|||||||
|
services:
|
||||||
|
swarms-agent-server:
|
||||||
|
image: swarms-agent-node:latest
|
||||||
|
platform: linux/amd64
|
||||||
|
volumes:
|
||||||
|
- /var/run/tappd.sock:/var/run/tappd.sock
|
||||||
|
- swarms:/app
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- 8000:8000
|
||||||
|
command: # Sample MCP Server
|
||||||
|
- /bin/sh
|
||||||
|
- -c
|
||||||
|
- |
|
||||||
|
cd /app/mcp_example
|
||||||
|
python mcp_test.py
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
swarms:
|
Loading…
Reference in new issue