mirror of
https://github.com/CJackHwang/ds2api.git
synced 2026-05-02 07:25:26 +08:00
15 lines
398 B
YAML
15 lines
398 B
YAML
services:
|
|
ds2api:
|
|
image: ghcr.io/cjackhwang/ds2api:latest
|
|
container_name: ds2api
|
|
restart: always
|
|
ports:
|
|
- "6011:5001"
|
|
volumes:
|
|
- ./config.json:/app/config.json # 配置文件
|
|
- ./.env:/app/.env # 环境变量
|
|
environment:
|
|
- TZ=Asia/Shanghai
|
|
- LOG_LEVEL=INFO
|
|
- DS2API_ADMIN_KEY=${DS2API_ADMIN_KEY:-ds2api}
|