Files
palladium-stack/docker-compose.yml
Davide Grilli 61ffb0729c Update coin configuration and imports
- Remove redundant NET setting as it's automatically determined by COIN
- Update Dockerfile to handle both Palladium and PalladiumTestnet imports
- Register both coin types in COIN_CLASSES
2025-11-28 12:49:04 +01:00

42 lines
1.2 KiB
YAML

services:
electrumx:
image: electrumx-plm:local
container_name: electrumx-plm
restart: unless-stopped
extra_hosts:
- "host.docker.internal:host-gateway"
ports:
- "50001:50001" # TCP
- "50002:50002" # SSL
environment:
# ===== Network Configuration =====
# For MAINNET use: COIN: "Palladium" and DAEMON_URL port 2332
# For TESTNET use: COIN: "PalladiumTestnet" and DAEMON_URL port 12332
# NOTE: Do not set NET manually - it is automatically set by the COIN class
COIN: "Palladium" # Change to "PalladiumTestnet" for testnet
# Palladium Core RPC connection
# MAINNET: port 2332 | TESTNET: port 12332
DAEMON_URL: "http://<rpcuser>:<rpcpassword>@host.docker.internal:2332/" # RPC credentials
SERVICES: "tcp://0.0.0.0:50001,ssl://0.0.0.0:50002"
SSL_CERTFILE: "/certs/server.crt"
SSL_KEYFILE: "/certs/server.key"
DB_DIRECTORY: "/data"
PEER_DISCOVERY: "off"
PEER_ANNOUNCE: "false"
INITIAL_CONCURRENT: "2"
COST_SOFT_LIMIT: "0"
COST_HARD_LIMIT: "0"
ulimits:
nofile:
soft: 1048576
hard: 1048576
volumes:
- ./data:/data