Build and Publish Image / build (push) Successful in 1m27s
Translate the index.html metadata, .dockerignore, docker-compose comments and config.example.json comment to English, and restore placeholder credentials in the example config. Fix the renamed SSE-doc link and TESTING anchor. Drop the stale Vercel sync hint from the settings page and locales.
21 lines
900 B
YAML
21 lines
900 B
YAML
services:
|
|
ds2api:
|
|
# По умолчанию тянем готовый образ из Gitea Packages (его собирает CI).
|
|
# docker compose pull && docker compose up -d
|
|
# Локальная сборка из исходника со своими правками -> docker-compose.dev.yml,
|
|
# либо собери образ вручную и подставь: DS2API_IMAGE=ds2api:local docker compose up -d
|
|
image: ${DS2API_IMAGE:-git.qomar.pw/omar/ds2api:latest}
|
|
container_name: ds2api
|
|
restart: always
|
|
env_file:
|
|
- .env
|
|
ports:
|
|
# Host port is configurable via DS2API_HOST_PORT; container port stays fixed at 5001.
|
|
- "${DS2API_HOST_PORT:-6011}:5001"
|
|
volumes:
|
|
- ./config.json:/app/config.json # config file
|
|
environment:
|
|
- TZ=Asia/Shanghai
|
|
- LOG_LEVEL=INFO
|
|
- DS2API_ADMIN_KEY=${DS2API_ADMIN_KEY:-ds2api}
|