mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-09-28 05:46:36 +08:00
23 lines
531 B
YAML
23 lines
531 B
YAML
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"
|
|
LOG_LEVEL: "debug"
|
|
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway" |