docker-compose.yml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. version: '3'
  2. services:
  3. walletd:
  4. network_mode: host
  5. # Check https://hub.docker.com/r/factominc/factom-walletd/tags for latest stable release
  6. image: factominc/factom-walletd:v2.2.14-alpine
  7. volumes:
  8. # Volume where wallet information is stored
  9. - factom_wallet:/root/.factom/wallet
  10. # Volume that holds the factomd.conf file
  11. - ./config/factomd.conf:/root/.factom/m2/factomd.conf:ro
  12. expose:
  13. # Wallet API
  14. - 8089
  15. restart: unless-stopped
  16. container_name: factom_walletd
  17. coordinator:
  18. network_mode: host
  19. # Check https://hub.docker.com/r/pegnet/pegnet/tags for latest stable release
  20. image: pegnet/pegnet:v0.1.0
  21. volumes:
  22. - ./config/pegnet.ini:/root/.pegnet/defaultconfig.ini:ro
  23. # ByteMap table
  24. - pegnet_coordinator:/root/.lxrhash
  25. ports:
  26. # Control panel
  27. - 8080:8080
  28. # Miner API
  29. - 8099:8099
  30. # Coordinator
  31. - 7420:7420
  32. depends_on:
  33. - walletd
  34. container_name: pegnet-netcoordinator
  35. entrypoint: ./pegnet
  36. restart: always
  37. command: ["netcoordinator", "--log", "debug"]
  38. volumes:
  39. factom_wallet:
  40. external: true
  41. pegnet_coordinator:
  42. external: true