forked from masa-finance/masa-oracle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
36 lines (34 loc) · 1.05 KB
/
docker-compose.yaml
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
services:
masa-node:
# network_mode: "host"
build: .
# optional if network_mode: "host" mode is not used
ports:
- "4001:4001/tcp"
- "4001:4001/udp"
- "8080:8080"
environment:
BOOTNODES: "${BOOTNODES}"
ENV: "${ENV}"
RPC_URL: "${RPC_URL}"
FILE_PATH: "${FILE_PATH}"
VALIDATOR: "${VALIDATOR}"
CACHE_PATH: "${CACHE_PATH}"
TWITTER_PASS: "${TWITTER_PASS}"
TWITTER_USER: "${TWITTER_USER}"
TWITTER_2FA_CODE: "${TWITTER_2FA_CODE}"
TWITTER_SCRAPER: "${TWITTER_SCRAPER}"
volumes:
- .:/app
- .masa-keys:/home/masa/.masa
restart: always
volumes:
masa-keys:
# This is a named volume. You can specify additional options here if needed,
# such as setting a specific driver, driver options, or even labeling.
# For most users, the simple declaration is sufficient.
# Example with explicit driver (usually not required):
# driver: local
# Example with labels (optional):
# labels:
# - "com.example.description=MASA node key storage"