docker pull calciumion/new-api:latest
docker stop new-api
docker rm new-api
docker run --name new-api \
-d --restart always \
--net host \
-e TZ=Asia/Shanghai \
-e SQL_DSN="ai_zhoutian_com:195829Tt@tcp(10.2.24.8:3306)/ai_zhoutian_com?charset=utf8mb4" \
-v /data/newapi:/data \
calciumion/new-api:latest

部署https://github.com/CookSleep/gpt_image_playground
docker run -d -p 8899:80 \
-e DEFAULT_API_URL=https://api.openai.com/v1 \
-e ENABLE_API_PROXY=true \
-e LOCK_API_PROXY=true \
-e API_PROXY_URL=https://api.openai.com/v1 \
ghcr.io/cooksleep/gpt_image_playground:latest

部署gpt-img
docker run -d -p 8080:80 \
--name gpt-image \
-e DEFAULT_API_URL= \
-e ENABLE_API_PROXY=false \
-e LOCK_API_PROXY=false \
-e API_PROXY_URL= \
ghcr.io/cooksleep/gpt_image_playground:latest