1
0

docker-compose.yml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. services:
  2. nginx-ui:
  3. build: .
  4. image: nginx-ui-dev
  5. container_name: nginx-ui
  6. volumes:
  7. - ../..:/workspaces:cached
  8. - ./go-path:/root/go
  9. - ./data/nginx:/etc/nginx
  10. - /var/run/docker.sock:/var/run/docker.sock
  11. command: sleep infinity
  12. environment:
  13. - NGINX_UI_CERT_CA_DIR=https://pebble:14000/dir
  14. networks:
  15. nginxui:
  16. nginx-ui-2:
  17. image: nginx-ui-dev
  18. container_name: nginx-ui-2
  19. volumes:
  20. - ../..:/workspaces:cached
  21. - ./data/nginx-ui-2/nginx:/etc/nginx
  22. - ./data/nginx-ui-2/nginx-ui:/etc/nginx-ui
  23. working_dir: /workspaces/nginx-ui
  24. command: ./.devcontainer/node-supervisor.sh
  25. depends_on:
  26. - nginx-ui
  27. networks:
  28. nginxui:
  29. nginx-ui-3:
  30. image: nginx-ui-dev
  31. container_name: nginx-ui-3
  32. environment:
  33. - NGINX_UI_OFFICIAL_DOCKER=true
  34. volumes:
  35. - ../..:/workspaces:cached
  36. - ./data/nginx-ui-3/nginx:/etc/nginx
  37. - ./data/nginx-ui-3/nginx-ui:/etc/nginx-ui
  38. - /var/run/docker.sock:/var/run/docker.sock
  39. working_dir: /workspaces/nginx-ui
  40. command: ./.devcontainer/node-supervisor.sh
  41. depends_on:
  42. - nginx-ui
  43. networks:
  44. nginxui:
  45. nginx:
  46. image: nginx-ui-dev
  47. container_name: nginx
  48. volumes:
  49. - ./data/nginx-ui-3/nginx:/etc/nginx
  50. command: sleep infinity
  51. networks:
  52. nginxui:
  53. pebble:
  54. image: ghcr.io/letsencrypt/pebble:latest
  55. volumes:
  56. - ./pebble-test:/test
  57. command: -config /test/config/pebble-config.json -strict -dnsserver challtestsrv:8053
  58. ports:
  59. - 14000:14000 # HTTPS ACME API
  60. - 15000:15000 # HTTPS Management API
  61. environment:
  62. - PEBBLE_VA_NOSLEEP=1
  63. - PEBBLE_VA_ALWAYS_VALID=1
  64. - PEBBLE_WFE_NONCEREJECT=0
  65. networks:
  66. nginxui:
  67. challtestsrv:
  68. image: ghcr.io/letsencrypt/pebble-challtestsrv:latest
  69. command: -defaultIPv6 "" -defaultIPv4 challtestsrv
  70. ports:
  71. - 8055:8055 # HTTP Management API
  72. networks:
  73. nginxui:
  74. casdoor:
  75. image: casbin/casdoor-all-in-one
  76. ports:
  77. - 8001:8000
  78. networks:
  79. - nginxui
  80. networks:
  81. nginxui: