Update docker-compose.yml

This commit is contained in:
chunzhi 2023-05-11 15:10:07 +08:00 committed by GitHub
parent 16cc6bed77
commit 55d9b6569b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,13 +2,13 @@ version: '3.4'
services:
one-api:
image: justsong/one-api
image: ghcr.io/songquanpeng/one-api:latest
container_name: one-api
restart: always
ports:
- "3000:3000"
volumes:
- /home/ubuntu/data/one-api:/data
- /path/to/one-api:/data
# environment:
# REDIS_CONN_STRING: redis://default:redispw@localhost:49153
# SESSION_SECRET: random_string