From f8280e9a16ccbbb5c3eb03f598880632104b1d15 Mon Sep 17 00:00:00 2001 From: dawsh Date: Fri, 2 Aug 2024 00:00:31 +0330 Subject: [PATCH] fix: sleep some time to prevent problems with marzneshin not detecting the restart --- compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/compose.yml b/compose.yml index 28a3079..4302f64 100644 --- a/compose.yml +++ b/compose.yml @@ -3,6 +3,7 @@ services: image: dawsh/marznode:latest restart: always network_mode: host + command: [ "sh", "-c", "sleep 10 && python3 marznode.py" ] environment: XRAY_EXECUTABLE_PATH: "/usr/local/bin/xray"