Update docker-compose.yml

This commit is contained in:
chunzhi 2023-05-11 15:22:39 +08:00 committed by GitHub
parent e6fda32785
commit 963b45660e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,8 +9,8 @@ services:
ports: ports:
- "3000:3000" - "3000:3000"
volumes: volumes:
- /home/ubuntu/data/one-api:/data - /home/ubuntu/data/one-api:/data #数据目录
- /home/ubuntu/data/one-api/logs:/app/logs - /home/ubuntu/data/one-api/logs:/app/logs #日志目录
# environment: # environment:
# REDIS_CONN_STRING: redis://default:redispw@localhost:49153 # REDIS_CONN_STRING: redis://default:redispw@localhost:49153
# SESSION_SECRET: random_string # SESSION_SECRET: random_string