1
0

docker-compose.yml 373 B

12345678910111213141516
  1. services:
  2. 3xui:
  3. build:
  4. context: .
  5. dockerfile: ./Dockerfile
  6. container_name: 3xui_app
  7. # hostname: yourhostname <- optional
  8. volumes:
  9. - $PWD/db/:/etc/x-ui/
  10. - $PWD/cert/:/root/cert/
  11. environment:
  12. XRAY_VMESS_AEAD_FORCED: "false"
  13. XUI_ENABLE_FAIL2BAN: "true"
  14. tty: true
  15. network_mode: host
  16. restart: unless-stopped