Files
x-panel/docker-compose.yml
2026-05-03 11:34:48 +08:00

17 lines
382 B
YAML

services:
x-panel:
build:
context: .
dockerfile: ./Dockerfile
container_name: x-panel_app
# hostname: yourhostname <<--- optional
volumes:
- $PWD/db/:/etc/x-ui/
- $PWD/cert/:/root/cert/
environment:
XRAY_VMESS_AEAD_FORCED: "false"
XUI_ENABLE_FAIL2BAN: "true"
tty: true
network_mode: host
restart: unless-stopped