mirror of
https://github.com/alireza0/x-ui.git
synced 2026-03-14 05:23:09 +00:00
docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion
16 lines
291 B
YAML
16 lines
291 B
YAML
---
|
|
|
|
services:
|
|
xui:
|
|
image: alireza7/x-ui
|
|
container_name: x-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
|