3x-ui/docker-compose.yml
Shishkevich D. 13baf77893
chore: build image in docker compose
this makes it possible to run development build using Docker.
2025-06-13 15:25:13 +07:00

16 lines
373 B
YAML

services:
3xui:
build:
context: .
dockerfile: ./Dockerfile
container_name: 3xui_app
# hostname: yourhostname <- optional
volumes:
- $PWD/db/:/etc/x-ui/
- $PWD/cert/:/root/cert/
environment:
XRAY_VMESS_AEAD_FORCED: "false"
XUI_ENABLE_FAIL2BAN: "true"
tty: true
network_mode: host
restart: unless-stopped