summarylogtreecommitdiffstats
path: root/config-example.json
blob: 4f887b76ec40ba64c86f39b9c5f4f4f5db1d4fe6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
{
    "ContainerConfigs": [
        {
            "MainContainer": "nginx",
            "DepContainers": [
                "proxy",
                "proxy2"
            ],
            "CheckRunning": false,
            "CheckDelay": 1
        }
    ],
    "DockerConfig": {
        "Host": "localhost" // Default if left blank
    }
}