Deploy pplx2api via Docker
mainYou can run pplx2api as a containerized service using Docker. You must provide the SESSIONS and APIKEY environment variables.
docker run -d \
-p 8080:8080 \
-e SESSIONS=eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIn0**,eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIn0** \
-e APIKEY=123 \
-e IS_INCOGNITO=true \
-e MAX_CHAT_HISTORY_LENGTH=10000 \
-e NO_ROLE_PREFIX=false \
-e SEARCH_RESULT_COMPATIBLE=false \
--name pplx2api \
ghcr.io/yushangxiao/pplx2api:latest