-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathdocker-compose.debug.yml
More file actions
31 lines (31 loc) · 1.09 KB
/
Copy pathdocker-compose.debug.yml
File metadata and controls
31 lines (31 loc) · 1.09 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
31
services:
minfo-debug:
image: ${MINFO_DEBUG_IMAGE:-minfo-debug}
container_name: ${MINFO_DEBUG_CONTAINER_NAME:-minfo-debug}
build:
context: .
target: debug
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:
- "${DEBUG_HOST_PORT:-48080}:${PORT:-28080}"
- "${DLV_HOST_PORT:-2345}:2345"
environment:
PORT: "${PORT:-28080}"
REQUEST_TIMEOUT: "${REQUEST_TIMEOUT:-20m}"
working_dir: ${PWD:-/opt/minfo}
volumes:
- /lib/modules:/lib/modules:ro
- .:${PWD:-/opt/minfo}
- ${MEDIA_PATH_1:-./test-media}:/media_path1:ro
restart: unless-stopped