Update docker-compose.yml

docker required ports added
This commit is contained in:
AliBelali 2024-04-23 15:37:12 +03:30 committed by GitHub
parent 1c798bb3d9
commit 678b7d99e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,6 +6,10 @@ services:
image: ghcr.io/mhsanaei/3x-ui:latest image: ghcr.io/mhsanaei/3x-ui:latest
container_name: 3x-ui container_name: 3x-ui
hostname: yourhostname hostname: yourhostname
ports:
- "80:80/tcp"
- "443:443/tcp"
- "2053:2053/tcp"
volumes: volumes:
- $PWD/db/:/etc/x-ui/ - $PWD/db/:/etc/x-ui/
- $PWD/cert/:/root/cert/ - $PWD/cert/:/root/cert/