Deploy one-api locally

1. View the one-api container image

Visit https://hub.docker.com/r/justsong/one-api/tags to view the latest version of the container image tag.

Write an article (20230807 time point) the latest version of the tag is v0.5.2.

insert image description here

2. Deploy one-api

mkdir -p /u01/data/one-api; chmod 777 /u01/data/one-api
docker run --name one-api -d --restart=always -p 3000:3000 -e TZ=Asia/Shanghai -v /u01/data/one-api:/data justsong/one-api:v0.5.2

3. Access one-api

Use a browser to open http://ip:3000, enter the user name ( root) and password ( 123456) to access.

insert image description here

4. Github address

https://github.com/songquanpeng

end!

おすすめ

転載: blog.csdn.net/engchina/article/details/132145908