chore: 尝试初步支持 Docker

This commit is contained in:
foxhui
2025-12-12 01:34:02 +08:00
Unverified
parent 96ad8ae833
commit 07c3c346d5
2 changed files with 78 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
services:
lmarena-imagen-automator:
build: .
container_name: lmarena-imagen-automator
restart: unless-stopped
ports:
- "3000:3000" # API
- "5900:5900" # VNC
volumes:
# 配置文件会自动生成到这里:./data/config.yaml
- ./data:/app/data
environment:
- DISPLAY=:99
# true: 登录模式 (用VNC连上去登录)
# false: 标准挂机模式
- LOGIN_MODE=false
shm_size: '2gb'
init: true