1
0

docker-compose.yml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. volumes:
  33. - ../..:/workspaces:cached
  34. - ./data/nginx-ui-3/nginx:/etc/nginx
  35. - ./data/nginx-ui-3/nginx-ui:/etc/nginx-ui
  36. - /var/run/docker.sock:/var/run/docker.sock
  37. working_dir: /workspaces/nginx-ui
  38. command: ./.devcontainer/node-supervisor.sh
  39. depends_on:
  40. - nginx-ui
  41. networks:
  42. nginxui:
  43. nginx:
  44. image: nginx-ui-dev
  45. container_name: nginx
  46. volumes:
  47. - ./data/nginx-ui-3/nginx:/etc/nginx
  48. command: sleep infinity
  49. networks:
  50. nginxui:
  51. pebble:
  52. image: ghcr.io/letsencrypt/pebble:latest
  53. volumes:
  54. - ./pebble-test:/test
  55. command: -config /test/config/pebble-config.json -strict -dnsserver challtestsrv:8053
  56. ports:
  57. - 14000:14000 # HTTPS ACME API
  58. - 15000:15000 # HTTPS Management API
  59. environment:
  60. - PEBBLE_VA_NOSLEEP=1
  61. - PEBBLE_VA_ALWAYS_VALID=1
  62. - PEBBLE_WFE_NONCEREJECT=0
  63. networks:
  64. nginxui:
  65. challtestsrv:
  66. image: ghcr.io/letsencrypt/pebble-challtestsrv:latest
  67. command: -defaultIPv6 "" -defaultIPv4 challtestsrv
  68. ports:
  69. - 8055:8055 # HTTP Management API
  70. networks:
  71. nginxui:
  72. casdoor:
  73. image: casbin/casdoor-all-in-one
  74. ports:
  75. - 8001:8000
  76. networks:
  77. - nginxui
  78. networks:
  79. nginxui: