docker-compose.yml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435
  1. version: '3'
  2. services:
  3. pandora-next:
  4. image: pengzhile/pandora-next
  5. container_name: PandoraNext
  6. network_mode: bridge
  7. # restart: always
  8. ports:
  9. - "8181:8181"
  10. environment:
  11. - PANDORA_NEXT_LICENSE=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJodHRwczovL2NsaWVudC1hcGkucGFuZG9yYW5leHQuY29tIiwiZXhwIjoxNzk1MjMwNTk0LCJqdGkiOiJCVkxQM3VTaGo1Qzc1N1VXeWRvalNISnR3MTRLRkI3ajBmSFFHMmkyaUZrIiwiaWF0IjoxNzAwNjIyNTk0LCJpc3MiOiJodHRwczovL2Rhc2gucGFuZG9yYW5leHQuY29tLyIsIm5iZiI6MTcwMDYyMjU5NCwic3ViIjoiU0tNZ3lmSTNfTEJDdkRNY0JuZVpwOEhGdXVoMGhwcHhXeFRXQXJBIiwiYXpwIjoiRWE2X2ZQT2ZZN2Z3TlFyLXRralU1cGgzTVRiT1NRMDBKSFc4cHE1UURFbyIsImxtdCI6NTAwMCwiZnRzIjpbXX0.T8eSz7GyJZ8NJaS4bat6GL6yU-UIMsQWUIXpMt1uXc14OuY5-cbRm9L5kGfhSoAFKBfW5RbT-JjpOsreeKpk1FgzsS4JtAjPpHqWgBFvksYhX_st4AVtkgLLAZXAZGoDKCowOGTyrIAMeORJbARfzqGe5XYepKbzyUuJZawQwiFi1kMVZc1UvDSnV0nUlnRc4xQs_NAfn0r8N-D9nNNKsFNGh7rrrkYJQczfY93ujKp8wWAFJroI9QdkaSHhMdvdvJvjbBt4PtPIUYdS58cqRHmgYM6pRexEfqFM9TSf6gGPSlDtOXfngyzI2qpudCv_F9U0Ua9WfSuroi3icqwrTQ
  12. volumes:
  13. - ./data:/data
  14. tokensTool:
  15. image: yangclivia/tokenstool:latest
  16. container_name: tokensTool
  17. restart: always
  18. user: root
  19. ports:
  20. - "8081:8081"
  21. network_mode: host
  22. pid: host
  23. privileged: true
  24. volumes:
  25. - (你config.json的文件目录):(你config.json的文件目录)
  26. - /usr/bin/docker:/usr/bin/docker
  27. command:
  28. - --loginUsername=(你的登录账号)
  29. - --loginPassword=(你的登录密码)
  30. - --deployWay=(部署方式看环境变量)
  31. - --deployPosition=(你config.json的文件目录)
  32. - --hotReload=true
  33. - --pandoraNext_Url=http(s)://ip:port(或者你的域名)