diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 00000000..53784309 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,16 @@ +services: + 3xui: + build: + context: . + dockerfile: ./Dockerfile + container_name: 3xui_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 \ No newline at end of file