-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (30 loc) · 1.11 KB
/
Copy pathdocker-compose.yml
File metadata and controls
30 lines (30 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
services:
minfo:
image: ${MINFO_IMAGE:-minfo-local}
container_name: ${MINFO_CONTAINER_NAME:-minfo-local}
build:
context: .
target: runtime
args:
HTTP_PROXY: "${HTTP_PROXY:-}"
HTTPS_PROXY: "${HTTPS_PROXY:-}"
http_proxy: "${http_proxy:-}"
https_proxy: "${https_proxy:-}"
ALPINE_VERSION: "${ALPINE_VERSION:-3.24}"
ALPINE_REPO: "${ALPINE_REPO:-https://dl-cdn.alpinelinux.org/alpine/v3.24}"
FFMPEG_PKG: "${FFMPEG_PKG:-ffmpeg=8.1.2-r0}"
GOPROXY: "${GOPROXY:-https://goproxy.cn,direct}"
MKBRR_REPO: "${MKBRR_REPO:-https://github.com/mirrorb/mkbrr.git}"
MKBRR_REF: "${MKBRR_REF:-main}"
privileged: true
ports:
- "${HOST_PORT:-38080}:${PORT:-28080}"
environment:
PORT: "${PORT:-28080}"
REQUEST_TIMEOUT: "${REQUEST_TIMEOUT:-20m}"
WEB_USERNAME: "${WEB_USERNAME:-}"
WEB_PASSWORD: "${WEB_PASSWORD:-}"
volumes:
- /lib/modules:/lib/modules:ro # 程序会自动尝试加载 `udf` 内核模块用于挂载ISO
- ${MEDIA_PATH_1:-./test-media}:/media_path1:ro
restart: unless-stopped