1
0

docker-compose.yml 323 B

12345678910111213141516
  1. ---
  2. version: "3"
  3. services:
  4. 3x-ui:
  5. image: ghcr.io/mhsanaei/3x-ui:latest
  6. container_name: 3x-ui
  7. hostname: yourhostname
  8. volumes:
  9. - $PWD/db/:/etc/x-ui/
  10. - $PWD/cert/:/root/cert/
  11. environment:
  12. XRAY_VMESS_AEAD_FORCED: "false"
  13. tty: true
  14. network_mode: host
  15. restart: unless-stopped