12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- version: '3'
- services:
- walletd:
- network_mode: host
- # Check https://hub.docker.com/r/factominc/factom-walletd/tags for latest stable release
- image: factominc/factom-walletd:v2.2.14-alpine
- volumes:
- # Volume where wallet information is stored
- - factom_wallet:/root/.factom/wallet
- # Volume that holds the factomd.conf file
- - ./config/factomd.conf:/root/.factom/m2/factomd.conf:ro
- expose:
- # Wallet API
- - 8089
- restart: unless-stopped
- container_name: factom_walletd
- coordinator:
- network_mode: host
- # Check https://hub.docker.com/r/pegnet/pegnet/tags for latest stable release
- image: pegnet/pegnet:v0.1.0
- volumes:
- - ./config/pegnet.ini:/root/.pegnet/defaultconfig.ini:ro
- # ByteMap table
- - pegnet_coordinator:/root/.lxrhash
- ports:
- # Control panel
- - 8080:8080
- # Miner API
- - 8099:8099
- # Coordinator
- - 7420:7420
- depends_on:
- - walletd
- container_name: pegnet-netcoordinator
- entrypoint: ./pegnet
- restart: always
- command: ["netcoordinator", "--log", "debug"]
-
- volumes:
- factom_wallet:
- external: true
- pegnet_coordinator:
- external: true
|