文件
linux_controller/docker-compose.yml
T

15 行
418 B
YAML

services:
linux_controller:
build:
context: .
dockerfile: Dockerfile
container_name: linux_controller
environment:
# 服务器列表从环境变量注入(写入项目根目录 .env 文件即可,compose 会自动读取)
- SERVERS_JSON=${SERVERS_JSON:-}
- FLASK_DEBUG=${FLASK_DEBUG:-0}
ports:
- "8090:8090"
volumes:
- ./:/app