diff --git a/compose.yaml b/compose.yaml index 1f37dfd..b9d26c0 100644 --- a/compose.yaml +++ b/compose.yaml @@ -139,7 +139,7 @@ services: build: context: sshtun dockerfile: Dockerfile - restart: always + restart: on-failure environment: - USE_TUN=${USE_TUN} ports: diff --git a/compose.yaml.local b/compose.yaml.local index 6309a1c..2a55941 100644 --- a/compose.yaml.local +++ b/compose.yaml.local @@ -139,7 +139,7 @@ services: build: context: sshtun dockerfile: Dockerfile - restart: always + restart: on-failure environment: - USE_TUN=${USE_TUN} ports: diff --git a/compose.yaml.prod b/compose.yaml.prod index 1f37dfd..b9d26c0 100644 --- a/compose.yaml.prod +++ b/compose.yaml.prod @@ -139,7 +139,7 @@ services: build: context: sshtun dockerfile: Dockerfile - restart: always + restart: on-failure environment: - USE_TUN=${USE_TUN} ports: