You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/features/configuration.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,9 +50,9 @@ Please read more about customizing images in the [Image name substitution](image
50
50
1. If your environment already implements automatic cleanup of containers after the execution,
51
51
but does not allow starting privileged containers, you can turn off the Ryuk container by setting
52
52
`TESTCONTAINERS_RYUK_DISABLED`**environment variable** , or the `ryuk.disabled`**property** to `true`.
53
-
1. You can specify the connection timeout for Ryuk by setting the `TESTCONTAINERS_RYUK_CONNECTION_TIMEOUT`**environment variable**, or the `ryuk.connection.timeout`**property**. The default value is 1 minute.
54
-
1. You can specify the reconnection timeout for Ryuk by setting the `TESTCONTAINERS_RYUK_RECONNECTION_TIMEOUT`**environment variable**, or the `ryuk.reconnection.timeout`**property**. The default value is 10 seconds.
55
-
1. You can configure Ryuk to run in verbose mode by setting any of the `ryuk.verbose`**property** or the `TESTCONTAINERS_RYUK_VERBOSE`**environment variable**. The default value is `false`.
53
+
1. You can specify the connection timeout for Ryuk by setting the `RYUK_CONNECTION_TIMEOUT`**environment variable**, or the `ryuk.connection.timeout`**property**. The default value is 1 minute.
54
+
1. You can specify the reconnection timeout for Ryuk by setting the `RYUK_RECONNECTION_TIMEOUT`**environment variable**, or the `ryuk.reconnection.timeout`**property**. The default value is 10 seconds.
55
+
1. You can configure Ryuk to run in verbose mode by setting any of the `ryuk.verbose`**property** or the `RYUK_VERBOSE`**environment variable**. The default value is `false`.
56
56
57
57
!!!info
58
58
For more information about Ryuk, see [Garbage Collector](garbage_collector.md).
@@ -62,6 +62,12 @@ but does not allow starting privileged containers, you can turn off the Ryuk con
62
62
This is because the Compose module may take longer to start all the services. Besides, the `ryuk.reconnection.timeout`
63
63
should be increased to at least 30 seconds. For further information, please check [https://github.com/testcontainers/testcontainers-go/pull/2485](https://github.com/testcontainers/testcontainers-go/pull/2485).
64
64
65
+
!!!warn
66
+
The following environment variables for configuring Ryuk have been deprecated:
67
+
`TESTCONTAINERS_RYUK_CONNECTION_TIMEOUT`, `TESTCONTAINERS_RYUK_RECONNECTION_TIMEOUT` and
68
+
`TESTCONTAINERS_RYUK_VERBOSE` have been replaced by `RYUK_CONNECTION_TIMEOUT`
69
+
`RYUK_RECONNECTION_TIMEOUT` and `RYUK_VERBOSE` respectively.
70
+
65
71
## Docker host detection
66
72
67
73
_Testcontainers for Go_ will attempt to detect the Docker environment and configure everything to work automatically.
0 commit comments