[新服务] mdcx也是搜刮器 - 直接改文件和目录
date
Mar 8, 2024
slug
newservice-mdcx-av-scan
status
Published
summary
新服务-
tags
service
type
Post
URL
Summary步骤#1 backend (at remote, ok)#2 登录配置https://raw.githubusercontent.com/northsea4/mdcx-docker/main/gui-base/.env.sample
Summary
步骤
#1 backend (at remote, ok)
mkdir /volume1/sss/sss_tmp/_mdcx_in /volume3/sss_ext/_mdcx_out /volume3/sss_ext/_mdcx_failed
export DOCKER_PROJ=mdcx
mkdir -p /volume1/docker/$DOCKER_PROJ && cd /volume1/docker/$DOCKER_PROJ
mkdir -p mdcx-config logs data
echo "/mdcx-config/config.ini" > mdcx-config/MDCx.config
touch mdcx-config/config.ini
https_proxy=http://127.0.0.1:15004 http_proxy=http://127.0.0.1:15004 all_proxy=socks5://127.0.0.1:15004 \
wget https://raw.githubusercontent.com/northsea4/mdcx-docker/main/gui-base/.env.sample -O .env
# change VNC_PASSWORD, USER_ID, GROUP_ID (id -u, id -g for root) WEB_PORT=50058, VNC_PORT=50059
vi docker-compose.yml
version: '3'
services:
mdcx:
image: stainless403/mdcx-builtin-gui-base:${MDCX_BUILTIN_IMAGE_TAG}
container_name: ${MDCX_CONTAINER_NAME}
env_file:
- .env
volumes:
# 系统数据目录
- ./config:/config
# 配置文件目录
- ./mdcx-config:/mdcx-config
# `配置文件目录`标记文件
- ./mdcx-config/MDCx.config:/app/MDCx.config
# 日志目录
- ./logs:/app/Log
# 影片目录
#- /volume1/sss/sss_tmp:/sss_tmp
- /volume1/sss/sss_tmp/_mdcx_in:/_mdcx_in
- /volume3/sss_ext/_mdcx_out:/_mdcx_out
- /volume3/sss_ext/_mdcx_failed:/_mdcx_failed
ports:
- ${WEB_PORT}:5800
- ${VNC_PORT}:5900
restart: unless-stopped
#network_mode: bridge
stdin_open: true
networks:
default:
name: npm_nginx_proxy_manager-network
external: true
docker-compose down; docker-compose up -d; sleep 1s; docker-compose logs -f