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

docker-compose.yml 1.6 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. version: "3"
  2. volumes:
  3. mysql-data:
  4. services:
  5. nginx:
  6. image: nginx:stable-alpine
  7. network_mode: host
  8. ports:
  9. - 80:80
  10. volumes:
  11. - ./docker/nginx/nginx.conf:/etc/nginx/nginx.conf
  12. - ./docker/nginx/conf.d:/etc/nginx/conf.d
  13. - ./pub:/home/n9e/pub
  14. nightingale:
  15. build: .
  16. image: nightingale
  17. monapi:
  18. image: nightingale
  19. network_mode: host
  20. restart: always
  21. command: n9e-monapi
  22. ports:
  23. - 5800:5800
  24. transfer:
  25. image: nightingale
  26. network_mode: host
  27. restart: always
  28. command: n9e-transfer
  29. ports:
  30. - 5810:5810
  31. - 5811:5811
  32. tsdb:
  33. image: nightingale
  34. network_mode: host
  35. restart: always
  36. command: n9e-tsdb
  37. ports:
  38. - 5820:5820
  39. - 5821:5821
  40. index:
  41. image: nightingale
  42. network_mode: host
  43. restart: always
  44. command: n9e-index
  45. ports:
  46. - 5830:5830
  47. - 5831:5831
  48. judge:
  49. image: nightingale
  50. network_mode: host
  51. restart: always
  52. command: n9e-judge
  53. ports:
  54. - 5840:5840
  55. - 5841:5841
  56. collector:
  57. image: nightingale
  58. network_mode: host
  59. restart: always
  60. command: n9e-collector
  61. ports:
  62. - 2058:2058
  63. redis:
  64. image: redis
  65. network_mode: host
  66. restart: always
  67. ports:
  68. - 6379:6379
  69. mysql:
  70. image: mysql:5.7
  71. network_mode: host
  72. restart: always
  73. environment:
  74. - MYSQL_ROOT_PASSWORD=1234
  75. ports:
  76. - 3306:3306
  77. volumes:
  78. - ./sql:/docker-entrypoint-initdb.d
  79. - mysql-data:/var/lib/mysql