-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
30 lines (30 loc) · 1.1 KB
/
docker-compose.yaml
File metadata and controls
30 lines (30 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
services:
# always have shade-agent-api first in order of services
shade-agent-api:
environment:
NEAR_ACCOUNT_ID: ${NEAR_ACCOUNT_ID}
NEAR_SEED_PHRASE: ${NEAR_SEED_PHRASE}
API_CODEHASH: ${API_CODEHASH}
APP_CODEHASH: ${APP_CODEHASH}
NEXT_PUBLIC_contractId: ${NEXT_PUBLIC_contractId}
NEAR_RPC_JSON: ${NEAR_RPC_JSON}
platform: linux/amd64 # Explicitly set for TDX
# shade-agent-api-image
image: mattdlockyer/shade-agent-api@sha256:555a166f4c648a579061f65000ad66c757c70881b468a1ae3b1b4cd67238f2e0
container_name: shade-agent-api
# DO NOT EXPOSE THE API PORT TO THE PUBLIC
volumes:
- /var/run/tappd.sock:/var/run/tappd.sock
restart: always
shade-agent-app:
environment:
NEXT_PUBLIC_contractId: ${NEXT_PUBLIC_contractId}
platform: linux/amd64 # Explicitly set for TDX
# shade-agent-app-image
image: pivortex/my-app@sha256:7927bc12bf22429f9cf03db9c9431c65b25ae3485a2e603ca676b255fe5d2c87
container_name: shade-agent-app
ports:
- "3000:3000"
volumes:
- /var/run/tappd.sock:/var/run/tappd.sock
restart: always