docker-compose.yml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. command: sleep infinity
  11. environment:
  12. - NGINX_UI_CERT_CA_DIR=https://pebble:14000/dir
  13. networks:
  14. nginxui:
  15. nginx-ui-2:
  16. image: nginx-ui-dev
  17. container_name: nginx-ui-2
  18. volumes:
  19. - ../..:/workspaces:cached
  20. - ./data/nginx-ui-2/nginx:/etc/nginx
  21. - ./data/nginx-ui-2/nginx-ui:/etc/nginx-ui
  22. working_dir: /workspaces/nginx-ui
  23. command: ./.devcontainer/node-supervisor.sh
  24. depends_on:
  25. - nginx-ui
  26. networks:
  27. nginxui:
  28. pebble:
  29. image: ghcr.io/letsencrypt/pebble:latest
  30. volumes:
  31. - ./pebble-test:/test
  32. command: -config /test/config/pebble-config.json -strict -dnsserver challtestsrv:8053
  33. ports:
  34. - 14000:14000 # HTTPS ACME API
  35. - 15000:15000 # HTTPS Management API
  36. environment:
  37. - PEBBLE_VA_NOSLEEP=1
  38. - PEBBLE_VA_ALWAYS_VALID=1
  39. - PEBBLE_WFE_NONCEREJECT=0
  40. networks:
  41. nginxui:
  42. challtestsrv:
  43. image: ghcr.io/letsencrypt/pebble-challtestsrv:latest
  44. command: -defaultIPv6 "" -defaultIPv4 challtestsrv
  45. ports:
  46. - 8055:8055 # HTTP Management API
  47. networks:
  48. nginxui:
  49. casdoor:
  50. image: casbin/casdoor-all-in-one
  51. ports:
  52. - 8001:8000
  53. networks:
  54. - nginxui
  55. networks:
  56. nginxui: