Skip to content

Commit 6c82832

Browse files
author
Naor Livne
committed
adding missing network field to cron_jobs config description
1 parent 751d176 commit 6c82832

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/config/cron_jobs.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ The following table shows the config variables used to set individual cron_jobs
1414
| devices | list | [] | [] | what devices to grant the containers access ,follows docker run --device of host_path:container_path:ro/rwm, use [] for non |
1515
| privileged | bool | false | false | true - cron gets privileged permissions, false - no privileged permissions |
1616
| schedule | string | 0 * * * * | none - must be declared | the schedule of the cron to run, follows standard linux cron schedule syntax |
17+
| networks | list | ["my_network"] | ["nebula", "bridge"] | the networks containers will be part of, if you wish to use "host" or "none" networks make sure that they are alone in the list (["host"] or ["none"]), a default bridge user network named "nebula" is also added in any case which is not "host" or "none", the "nebula" network can either be added explicitly (["nebula", "example-net"]) or implicitly (["example-net"]) and will also be added if an empty list is set ([]), note that aside from the default "nebula" network (& Docker default networks of "bridge", "none", "host") you will have to create what networks you wish to use manually on the worker prior to using them, the main advantage of the default "nebula" user network over the "bridge" network is that it allows container name based discovery so if you have a server with 2 containers named "con1" and "con2" you can ping from "con1" to "con2" just by using "ping con2" from inside "con1" |

0 commit comments

Comments
 (0)