fix: update docker-compose.yml (#131)

使用相对路径,更通用
This commit is contained in:
quzard 2023-05-31 15:37:59 +08:00 committed by GitHub
parent f19ee05351
commit 5f045f8cf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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