mirror of
https://github.com/woodchen-ink/random-api-go.git
synced 2025-07-18 05:42:01 +08:00
fix(config, docker): update log file path and BASE_URL for consistency
- Changed log_file path in config.json to point to /root/data/logs/server.log. - Updated BASE_URL in docker-compose.yml to use https://example.net/random-api for improved clarity and consistency.
This commit is contained in:
parent
1fc1069ec1
commit
44afb8cae9
@ -8,7 +8,7 @@
|
||||
"storage": {
|
||||
"data_dir": "/root/data",
|
||||
"stats_file": "/root/data/stats.json",
|
||||
"log_file": "/var/log/random-api/server.log"
|
||||
"log_file": "/root/data/logs/server.log"
|
||||
},
|
||||
"api": {
|
||||
"base_url": "",
|
||||
|
@ -8,5 +8,5 @@ services:
|
||||
- ./data:/root/data
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
- BASE_URL=https://github-file.czl.net/random-api.czl.net
|
||||
- BASE_URL=https://example.net/random-api
|
||||
restart: unless-stopped
|
||||
|
Loading…
x
Reference in New Issue
Block a user