Initial commit

This commit is contained in:
2026-01-28 20:44:34 +08:00
commit 500e8b74a7
236 changed files with 29886 additions and 0 deletions

23
docker-compose.yaml Normal file
View File

@@ -0,0 +1,23 @@
services:
filerelay:
build:
context: .
args:
- GOPROXY=${GOPROXY:-https://proxy.golang.org,direct}
- NPM_REGISTRY=${NPM_REGISTRY:-https://registry.npmjs.org/}
image: filerelay:latest
container_name: filerelay
ports:
- "${HOST_PORT:-8080}:${FR_SITE_PORT:-8080}"
volumes:
- ./data:/app/data
- ./data/config:/app/config
environment:
- TZ=${TZ:-Asia/Shanghai}
- FR_SITE_NAME=${FR_SITE_NAME:-文件暂存柜}
- FR_SITE_PORT=${FR_SITE_PORT:-8080}
- FR_LOG_LEVEL=${FR_LOG_LEVEL:-info}
- FR_DB_PATH=${FR_DB_PATH:-data/file_relay.db}
- FR_STORAGE_LOCAL_PATH=${FR_STORAGE_LOCAL_PATH:-data/storage_data}
- FR_LOG_FILE_PATH=${FR_LOG_FILE_PATH:-data/logs/app.log}
restart: unless-stopped