generated from bobanetwork/aa-hc-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.local.yml
70 lines (65 loc) · 2.36 KB
/
docker-compose.local.yml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
version: "3.8"
services:
rundler-hc:
image: bobanetwork/rundler-hc:sepolia-rc14
environment:
HC_HELPER_ADDR: ${HC_HELPER_ADDR} # Deployed contract address
HC_SYS_ACCOUNT: ${HC_SYS_ACCOUNT} # Deployed contract address
HC_SYS_OWNER: ${HC_SYS_OWNER} # Owner/Signer for HC_SYS_ACCOUNT
HC_SYS_PRIVKEY: ${HC_SYS_PRIVKEY} # Owner/Signer for HC_SYS_ACCOUNT
ENTRY_POINTS: ${ENTRY_POINTS} # Deployed contract address
BUILDER_PRIVATE_KEY: ${BUILDER_PRIVKEY} # Key for bundler EOA
NODE_HTTP: ${NODE_HTTP} # Replica/Sequencer URL
CHAIN_ID: ${CHAIN_ID} # Chain ID
RPC_PORT: 3300 # RPC port to submit into Bundler
ports:
- "3300:3300"
offchain-service:
build:
context: ./backend/offchain
dockerfile: ../Dockerfile
ports:
- "${OC_LISTEN_PORT:-1234}:${OC_LISTEN_PORT:-1234}"
env_file: ./backend/.env
volumes:
- ./backend/.env:/app/.env
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:${OC_LISTEN_PORT:-1234}/hc"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
environment:
- PYTHONUNBUFFERED=1 # Add this line to disable bufferin
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
args:
- NETWORK=local
image: bobanetwork/aa-hc-example-frontend
volumes:
- ./frontend/.env:/app/frontend/.env
ports:
- "8000:80"
restart: unless-stopped
snap-account-abstraction-keyring:
build:
context: ./snap-account-abstraction-keyring
dockerfile: Dockerfile
args:
- NETWORK=local
image: bobanetwork/snap-account-abstraction-keyring
ports:
- "8080:8080"
- "8001:8000"
volumes:
- ./snap-account-abstraction-keyring/packages/site/.env:/app/snap-account-abstraction-keyring/packages/site/.env
- ./snap-account-abstraction-keyring/packages/site/.env.development:/app/snap-account-abstraction-keyring/packages/site/.env.development
- ./snap-account-abstraction-keyring/packages/site/.env.development.hc:/app/snap-account-abstraction-keyring/packages/site/.env.development.hc
- ./snap-account-abstraction-keyring/packages/snap/.env:/app/snap-account-abstraction-keyring/packages/snap/.env
restart: unless-stopped
networks:
default:
name: aa-hc-network