[新增] 添加 MIME 类型支持和更新 Docker Compose 配置

This commit is contained in:
ryan
2026-05-28 23:20:53 +08:00
parent 21962db3bf
commit 6e0b6df314
3 changed files with 120 additions and 2 deletions
+22
View File
@@ -0,0 +1,22 @@
services:
openflare-agent:
build:
context: .
dockerfile: openflare_agent/Dockerfile
container_name: openflare-agent
restart: unless-stopped
ports:
- "80:80"
- "443:443"
- "127.0.0.1:18081:18081"
volumes:
- ./openflare_agent/data/:/data
environment:
OPENFLARE_SERVER_URL: "http://host.docker.internal:3000"
OPENFLARE_AGENT_TOKEN: "373956188ddead1df6dd7c86cd330b73"
extra_hosts:
- "host.docker.internal:host-gateway"