docker-compose.yml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. networks:
  40. nginxui:
  41. challtestsrv:
  42. image: ghcr.io/letsencrypt/pebble-challtestsrv:latest
  43. command: -defaultIPv6 "" -defaultIPv4 challtestsrv
  44. ports:
  45. - 8055:8055 # HTTP Management API
  46. networks:
  47. nginxui:
  48. casdoor:
  49. image: casbin/casdoor-all-in-one
  50. ports:
  51. - 8001:8000
  52. networks:
  53. - nginxui
  54. networks:
  55. nginxui: