From a0b07626930db8bbff72c597350e69692c03f19a Mon Sep 17 00:00:00 2001 From: Hossein Date: Sun, 30 Nov 2025 18:36:07 +0330 Subject: [PATCH] update --- docker-compose.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index c9330a0..997c13b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,7 +10,9 @@ services: volumes: # Your JSON config with "listen": "0.0.0.0" on the inbound - ./xray-config.json:/etc/xray/config.json:ro - command: ["xray", "-config=/etc/xray/config.json"] + # ENTRYPOINT of image is already "xray" + # So this becomes: xray run -c /etc/xray/config.json + command: ["run", "-c", "/etc/xray/config.json"] ports: - "10808:10808" # optional: expose to host for debugging restart: unless-stopped