赞
踩
- [root@gpt PandoraNext]# pwd
- /opt/PandoraNext
- [root@gpt PandoraNext]# tree -L 2
- .
- ├── best.php
- ├── data
- │ ├── config.json
- │ ├── license.jwt
- │ └── tokens.json
- ├── docker-compose.yml
- ├── README.md
- └── sessions
- └── session_D3XQJIB2537MDSEBC2SPO3J6ZEEY4CGP674CFTYLSEYKSXWH5NMQ
-
- 2 directories, 7 files
- 1、cd /opt
-
- 2、从github页面下载zip包deploy-master.zip
-
- 3、解压缩deploy-master.zip
-
- 4、mv deploy-master PandoraNext
Sign in to GitHub · GitHub 使用注册180天以上的github账号登录,获取license_id
1.config.json
- {
- "bind": "0.0.0.0:8181",
- "tls": {
- "enabled": false,
- "cert_file": "",
- "key_file": ""
- },
- "timeout": 600,
- "proxy_url": "",
- "license_id": "24eRERZaWpuPJtHnZ10kdsfsfsdfsdfkFTs",
- "public_share": false,
- "site_password": "",
- "setup_password": "L4o4ddfdsf986xx784",
- "server_tokens": true,
- "proxy_api_prefix": "",
- "isolated_conv_title": "*",
- "disable_signup": false,
- "auto_conv_arkose": false,
- "proxy_file_service": false,
- "captcha": {
- "provider": "",
- "site_key": "",
- "site_secret": "",
- "site_login": false,
- "setup_login": false,
- "oai_username": false,
- "oai_password": false,
- "oai_signup": false
- },
- "whitelist": null
- }
2.token设置
- # cat tokens.json
- {
- "test-1": {
- "token": "access token / session token / refresh token",
- "shared": true,
- "show_user_info": false
- },
- "test-2": {
- "token": "access token / session token / refresh token",
- "shared": true,
- "show_user_info": true,
- "plus": true
- },
- "wanyan": {
- "token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ik1UaEVOVUpHTkVNMVFURTRNMEZCTWpkQ05UZzVNRFUxUlRVd1FVSkRNRU13UmtGRVFrRXpSZyJ9.eyJodHRwczovL2FwaS5vcGVuYWkuY29tL3Byb2ZpbGUiOnsiZW1haWwiOiJldGhuaWNpdHlAMTI2LmNvbSIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlfSwiaHR0cHM6Ly9hcGkub3BlbmFpLmNvbS9hdXRoIjp7InBvaWQiOiJvcmctOG9hRHY1NHJITEpSZlZzalNZVnAxVk5TIiwidXNlcl9pZCI6InVzZXItWUxXaE5zxxxfsdfsfsdgsgsgHOUE2OGV0bXY2In0sImlzcyI6Imh0dHBzOi8vYXV0aDAub3BlbmFpLmNvbS8iLCJzdWIiOiJhdXRoMHw2M2U5ZTc2YWJjOTY3OGNlYzFkZWM2NDkiLCJhdWQiOlsiaHR0cHM6Ly9hcGkub3BlbmFpLmNvbS92MSIsImh0dHBzOi8vb3BlbmFpLm9wZW5haS5hdXRoMGFwcC5jb20vdXNlcmluZm8iXSwiaWF0IjoxNzAyNjI0NDc3LCJleHAiOjE3MDM0ODg0NzcsImF6cCI6IlRkSkljYmUxNldvVEh0Tjk1bnl5d2g1RTR5T282SXRHIiwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCBtb2RlbC5yZWFkIG1vZGVsLnJlcXVlc3Qgb3JnYW5pemF0aW9uLnJlYWQgb3JnYW5pemF0aW9uLndyaXRlIG9mZmxpbmVfYWNjZXNzIn0.P1HM2FCbM3L9EOHeUmOdkN7FF54MribaxWWwM2KPfFeWJx7iel8KmsQefU08E5JMd3e6hwqe6na2n-tYFBK3cs5-saoYwKo9AhZaK4u37W2jL1GY6II1-nkKDaE3bjo4UEMoxDIC6YCCFzSK5IgR5KM91OBQ10Mf2v2yFt7ApOzC9LukPHOHbYI8H7xbEjfL_Q6yoowo5j_lk39ec0m_degVc4HBobLEG9iCBIARzh4CRkYWfbG8PqsHJERVXoK_uyBztuV6yqbBPYH-FiRUHFp_v3xldaoE5e8p1479mGjcjMgRUgUrmI52EJVbWq56VIK-Mb5Ma9xYI0M926dZzQ",
- "password": "123456"
- }
- }
docker run -d --restart always --name PandoraNext --net=bridge -p 8181:8181 -v /opt/PandoraNext/data/:/data -v /opt/PandoraNext/sessions:/root/.cache/PandoraNext pengzhile/pandora-next
再次回到ChatGPT Auth 页面刷新即可得到token
或者点击“获取登录链接”也可以--按照提示登录openai的账号和密码
访问页面展示
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。