3x-ui/docker-compose.yml

18 lines
341 B
YAML

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