docker-compose.yml 380 B

1234567891011121314151617
  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. ports:
  16. - "2053:2053"
  17. restart: unless-stopped