Advertisement
Guest User

netmaker-compose

a guest
Oct 24th, 2024
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. services:
  2. netmaker:
  3. container_name: netmaker
  4. image: gravitl/netmaker:latest
  5. env_file: ./netmaker.env
  6. restart: always
  7. volumes:
  8. - dnsconfig:/root/config/dnsconfig
  9. - sqldata:/root/data
  10. environment:
  11. - STUN_LIST=stun1.netmaker.io:3478,stun2.netmaker.io:3478,stun1.l.google.com:19302,stun2.l.google.com:19302
  12. - BROKER_ENDPOINT=wss://broker.api.achllys.net
  13. - SERVER_NAME=api.achllys.net
  14. - SERVER_API_CONN_STRING=api.achllys.net:443
  15. - COREDNS_ADDR=api.achllys.net
  16. - SERVER_HTTP_HOST=api.achllys.net
  17. networks:
  18. - netmaker_network
  19.  
  20. netmaker-ui:
  21. container_name: netmaker-ui
  22. image: gravitl/netmaker-ui:latest
  23. env_file: ./netmaker.env
  24. environment:
  25. BACKEND_URL: "https://api.achllys.net"
  26. depends_on:
  27. - netmaker
  28. restart: always
  29. networks:
  30. - netmaker_network
  31.  
  32. mq:
  33. container_name: mq
  34. image: eclipse-mosquitto:2.0.15-openssl
  35. env_file: ./netmaker.env
  36. depends_on:
  37. - netmaker
  38. restart: unless-stopped
  39. command: [ "/mosquitto/config/wait.sh" ]
  40. volumes:
  41. - ./mosquitto.conf:/mosquitto/config/mosquitto.conf
  42. - ./wait.sh:/mosquitto/config/wait.sh
  43. - mosquitto_logs:/mosquitto/log
  44. - mosquitto_data:/mosquitto/data
  45. networks:
  46. - netmaker_network
  47.  
  48. networks:
  49. netmaker_network:
  50. driver: bridge
  51.  
  52. volumes:
  53. sqldata: {}
  54. dnsconfig: {}
  55. mosquitto_logs: {}
  56. mosquitto_data: {}
  57.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement