This commit is contained in:
kaadon
2025-10-31 01:16:51 +08:00
parent 9aebd17f1c
commit 9d69a89cec
47 changed files with 881 additions and 4 deletions

23
docker-compose.yml Normal file
View File

@ -0,0 +1,23 @@
version: '3.8'
services:
web:
build: .
container_name: weipan_web
ports:
- "8080:80"
volumes:
- runtime_data:/app/runtime
environment:
# 数据库配置(用于生成 .env 文件)
- database_hostname=10.100.100.88
- database_database=0302-2
- database_username=0302-2
- database_password=0302-2
- database_charset=utf8mb4
- database_hostport=65306
network_mode: host
restart: unless-stopped
volumes:
runtime_data: