-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
29 lines (27 loc) · 1.62 KB
/
docker-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
version: "3.9"
services:
diode_server:
image: tuhalf/diode_server
container_name: diode_server
restart: always
network_mode: "host" # comment this line if you want to use the docker network but you need to assign an IP address to the container otherwise it will not work
# ports: # uncomment this part if you want to use the docker network
# - "41046:41046"
# - "443:443"
# - "993:993"
# - "1723:1723"
# - "10000:10000"
# - "51054:51054"
# # - "8545:8545" # Uncomment this line if you want to use the Ethereum RPC API
# # - "8443:8443" # Uncomment this line if you want to use the Ethereum RPC API over HTTPS
volumes:
- data:/diode_server/data_prod
environment:
WORKER_MODE: 800 # CPU usage in percent. 100% = 1 core. values over 100% are for multi-core systems. 800 = 8 cores. setting Disabled will disable the worker.Recomended to set disabled in syncing period.
BLOCKCHAIN_SQ3_URL: https://pub-0d5d49260e184f7aa3fbc5cffff1d889.r2.dev/snapshots/67x/blockchain.sq3 # Blockchain snapshot url (optional but recommended for faster sync)
CACHE_SQ3_URL: https://pub-0d5d49260e184f7aa3fbc5cffff1d889.r2.dev/snapshots/67x/cache.sq3 # Blockchain snapshot url (optional but recommended for faster sync)
SYNC_SQ3_URL: https://pub-0d5d49260e184f7aa3fbc5cffff1d889.r2.dev/snapshots/67x/cache.sq3 # Blockchain snapshot url (optional but recommended for faster sync)
#PRIVATE: 0x0000000000000000000000000000000000000000000000000000000000000000 # Your Wallet Private Key (optional)
#IEX_ENABLED: 1 # Enable IEX (optional)
volumes:
data: