Files
colomi 0eb61f3e60 初始化换发型项目:3个微服务代码 + 部署脚本
包含:
- hair_service_sd: 换发型/换发色算法服务 (端口 8801)
- photo_service: LoRA 训练调度服务 (端口 32678)
- stable-diffusion-webui: SD WebUI 推理服务 (端口 57860)
- kohya_ss_home: 训练环境代码
- meidaojia: 监控测试脚本
- setup.sh: 一键部署脚本 (conda环境恢复 + 配置生成 + 完整性检查)
- start_all_services.sh: 启动3个服务
- configure.ini.template: 路径模板化 (BASE_DIR自动推导)
- conda_envs/py310.yml: py310 环境定义

大文件 (weights/, models/, data/, conda_envs/*.tar.gz 等) 通过 .gitignore 排除,
由网盘单独上传。
2026-07-11 18:11:49 +08:00

75 lines
2.0 KiB
Plaintext

# NOTE:
# This file must be encoded in UTF-8.
# Directives and variable definition in this file are case-insensitive.
# Lines that begin with the hash character "#" are considered comments, and are ignored.
# Webd.Root: The directory that webd share on network.
# Example for Linux:
# Webd.Root /mnt/sdb1
# Example for Windows:
# Webd.Root "D:\my share"
# Webd.Listen: Bind webd to specific IP and/or port.
# Also, webd can bind to multiple addresses by use multiple "Webd.Listen" instructions.
# Bind to port 9212 with IPv4:
# Webd.Listen 9212
# Bind to port 9212 with both IPv4 and IPv6:
# Webd.Listen [::]:9212
# User's permissions tag, can be set via one or more tag combinations:
# r: Access files.
# l: List directories.
# u: Upload file.
# m: Delete, move, or rename files.
# S: Show hidden files or directories.
# T: Use webpage to play media files.
# D: Add 'download' atrribute to file link.
# For now, webd supports only two users.
# Each user may have it's own Username Password and Permissions.
# But they share the same web directory.
# user1 has all permissions.
# Webd.User rlumS user1 pass1
# user2 can download and list files.
# Webd.User rl user2 pass2
# Guest can download and list files by default.
# Uncomment to disable all permissions for guest.
# Webd.Guest 0
# Hide tray icon for Windows.
# Webd.Hide
# Specify the path of Browser for Windows if webd can not popup Browser by double clicking tray icon.
# Webd.Browser "C:\Program Files\Mozilla Firefox\firefox.exe"
# Or start Browser with extra paramters that set by a batch file.
# Webd.Browser "C:\Program Files\Mozilla Firefox\myFirefox.cmd"
# Envionment variables for webd.
# These should be set in the command line or system configration.
#
# Write log files to /var/log/webd-YYYY-MM-DD.log
# _LOG_DIR=/var/log/webd-
#
# Write log to syslog.
# _syslog=1
#
# Set the maximum number of open file descriptors, linux only.
# _FD_LIMIT=10240
#
# Switch to non-privileged user after startup, linux only.
# _RUNAS=nobody
#
# chroot after startup, linux only.
# _CHROOT_PATH=/mnt/sda1