forked from t3rn/executor-release
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcompose.yml
49 lines (41 loc) · 1.14 KB
/
compose.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
version: "3.9"
services:
executor:
build:
context: .
dockerfile: Dockerfile
container_name: executor-container
environment:
# Load sensitive variables from .env file
PRIVATE_KEY_LOCAL: "${PRIVATE_KEY_LOCAL}"
# Node environment
NODE_ENV: "testnet"
# Logging settings
LOG_LEVEL: "debug"
LOG_PRETTY: "false"
# Process orders and claims
EXECUTOR_PROCESS_ORDERS: "true"
EXECUTOR_PROCESS_CLAIMS: "true"
# Limit on gas usage
EXECUTOR_MAX_L3_GAS_PRICE: "8"
# Networks & RPC endpoints
ENABLED_NETWORKS: "base-sepolia,optimism-sepolia,l1rn"
# Orders processing via API
EXECUTOR_PROCESS_PENDING_ORDERS_FROM_API: "false"
# Batch bidding
EXECUTOR_ENABLE_BATCH_BIDDING: "true"
# Enable bidding
EXECUTOR_PROCESS_BIDS_ENABLED: "true"
volumes:
- .:/app
restart: unless-stopped
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
interval: 30s
timeout: 10s
retries: 3