summarylogtreecommitdiffstats
path: root/config-example.json
diff options
context:
space:
mode:
Diffstat (limited to 'config-example.json')
-rw-r--r--config-example.json20
1 files changed, 13 insertions, 7 deletions
diff --git a/config-example.json b/config-example.json
index cf9646be948..4f887b76ec4 100644
--- a/config-example.json
+++ b/config-example.json
@@ -1,13 +1,19 @@
// Provided as an example. Service reads from /etc/docker-waiter/config.json
// Binary reads from /etc/docker-waiter/config.json as root
// or $XDG_CONFIG_HOME/docker-waiter/config.json if not
-
{
- "MainContainer": "nginx",
- "DepContainers": [
- "proxy",
- "proxy2"
+ "ContainerConfigs": [
+ {
+ "MainContainer": "nginx",
+ "DepContainers": [
+ "proxy",
+ "proxy2"
+ ],
+ "CheckRunning": false,
+ "CheckDelay": 1
+ }
],
- "CheckRunning": false,
- "CheckDelay": 1
+ "DockerConfig": {
+ "Host": "localhost" // Default if left blank
+ }
} \ No newline at end of file