Create docker-compose.yml

This commit is contained in:
quydang 2023-09-16 10:27:15 +07:00 committed by GitHub
parent 913dac18f2
commit 17a6e4e316
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

16
docker-compose.yml Normal file
View file

@ -0,0 +1,16 @@
---
version: "3.9"
services:
3x-ui:
image: ghcr.io/mhsanaei/3x-ui:latest
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