docker-compose.yml 723 B

12345678910111213141516171819202122232425
  1. version: '3'
  2. services:
  3. netminer:
  4. network_mode: host
  5. # Check https://hub.docker.com/r/pegnet/pegnet/tags for latest stable release
  6. image: pegnet/pegnet:v0.1.0
  7. volumes:
  8. - ./config/pegnet.ini:/root/.pegnet/defaultconfig.ini:ro
  9. # ByteMap table
  10. - pegnet_miner:/root/.lxrhash
  11. ports:
  12. # Control panel
  13. - 8080:8080
  14. # Miner API
  15. - 8099:8099
  16. container_name: pegnet-netminer
  17. entrypoint: ./pegnet
  18. restart: always
  19. command: ["netminer", "--miners", "${MINERS:-1}", "--log", "debug"]
  20. volumes:
  21. factom_wallet:
  22. external: true
  23. pegnet_miner:
  24. external: true