config.yaml.example 762 B

123456789101112131415161718192021222324252627282930313233343536
  1. app:
  2. port: 8194
  3. debug: True
  4. key: dify-sandbox
  5. max_workers: 4
  6. max_requests: 50
  7. worker_timeout: 5
  8. python_path: /usr/local/bin/python3
  9. python_lib_path:
  10. - /usr/local/lib/python3.10
  11. - /usr/lib/python3.10
  12. - /usr/lib/python3
  13. - /usr/lib/x86_64-linux-gnu
  14. - /etc/ssl/certs/ca-certificates.crt
  15. - /etc/nsswitch.conf
  16. - /etc/hosts
  17. - /etc/resolv.conf
  18. - /run/systemd/resolve/stub-resolv.conf
  19. - /run/resolvconf/resolv.conf
  20. - /etc/localtime
  21. - /usr/share/zoneinfo
  22. - /etc/timezone
  23. # add more paths if needed
  24. python_pip_mirror_url: https://pypi.tuna.tsinghua.edu.cn/simple
  25. nodejs_path: /usr/local/bin/node
  26. enable_network: True
  27. allowed_syscalls:
  28. - 1
  29. - 2
  30. - 3
  31. # add all the syscalls which you require
  32. proxy:
  33. socks5: ''
  34. http: ''
  35. https: ''