mirror of
https://github.com/woodchen-ink/random-api-go.git
synced 2025-07-18 13:52:02 +08:00
- 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.
13 lines
290 B
YAML
13 lines
290 B
YAML
services:
|
|
random-api-go:
|
|
container_name: random-api-go
|
|
image: woodchen/random-api-go:latest
|
|
ports:
|
|
- "5003:5003"
|
|
volumes:
|
|
- ./data:/root/data
|
|
environment:
|
|
- TZ=Asia/Shanghai
|
|
- BASE_URL=https://example.net/random-api
|
|
restart: unless-stopped
|