From 190c93156ec85bd781e73327ab3b9913e4fb9772 Mon Sep 17 00:00:00 2001 From: mikl Date: Mon, 13 Jul 2026 03:15:26 +0300 Subject: [PATCH] heather: xray - override command to -config (image default is -confdir) --- hosts/heather/arion-compose.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/heather/arion-compose.nix b/hosts/heather/arion-compose.nix index 75d4c14..0859d50 100644 --- a/hosts/heather/arion-compose.nix +++ b/hosts/heather/arion-compose.nix @@ -174,6 +174,9 @@ in service.image = "ghcr.io/xtls/xray-core:latest"; service.container_name = "xray"; service.restart = "unless-stopped"; + # Образ по умолчанию читает -confdir /usr/local/etc/xray/ (split-конфиги). + # Переопределяем на единый config.json с VLESS+Reality. + service.command = [ "-config" "/etc/xray/config.json" ]; service.volumes = [ "/var/lib/xray-secrets/config.json:/etc/xray/config.json:ro" ];