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: ports:
- "3000:3000" - "3000:3000"
volumes: volumes:
- /home/ubuntu/data/one-api:/data - ./data:/data
- /home/ubuntu/data/one-api/logs:/app/logs - ./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