You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
728 B

  1. version: "3"
  2. services:
  3. gnunet:
  4. build:
  5. context: .
  6. image: registry.gitlab.com/juga0/gnunet:latest
  7. container_name: gnunet
  8. # Copy a gnunet.conf that enable REST in all interfaces into ./tmp
  9. volumes:
  10. - ./tmp:/home/gnunet
  11. - ./docker/gnunet.conf:/home/gnunet/.config/gnunet.conf
  12. # expose REST port to gnunetrest container
  13. expose:
  14. - 7776
  15. restart: unless-stopped
  16. gnunetrest:
  17. build:
  18. context: .
  19. image: ${RELEASE_IMAGE:-gnunet-docker}
  20. environment:
  21. - HOST=gnunet
  22. container_name: gnunetrest
  23. volumes:
  24. - .:/home/gnunet/pygnunetrest
  25. restart: unless-stopped
  26. depends_on:
  27. - gnunet