forked from mesosphere-backup/deimos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.cfg
51 lines (44 loc) · 1.67 KB
/
example.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[docker]
# These are options passed to Docker *before* the call to run/images/&c. This
# allows you to set the Docker host. Note that any key:value pair whatever can
# be set here. If the syntax of a key is such that it resembles a JSON list,
# the option will be passed multiple times, once for each item in the list.
host: ["unix:///var/run/docker.sock", "tcp://localhost:2375"]
[docker.index]
account_libmesos: libmesos
#account: theteam
index: interior-node:2222
#dockercfg: /mnt/secrets/dockercfg
[containers.options]
# This array of options is passed to 'run' if there are none in the TaskInfo.
# Example: [ "-e", "SOME_KEY=SOME_VALUE" ]
default: []
# These options are passed to 'run' in addition to those in the TaskInfo.
append: []
# This flag causes all container options in the TaskInfo to be ignored.
ignore: false
[hooks]
# These options specify what programs to run before a container is launched
# and after one is destroyed (killed)
# They are passed the following environment variables
# TASK_INFO, PORT, PORTS, PORT0 -- as well as anything specified
# in the Environment section of the Marathon app.
# Example: onlaunch: [ "container_registry", "register" ]
onlaunch: []
# Example: ondestroy: [ "container_registry", "unregister", "--now" ]
ondestroy: []
[containers.image]
# The image to use when none is specified in the TaskInfo.
default: docker:///ubuntu
# Causes Deimos to ignore the container image specified in the TaskInfo.
ignore: false
[uris]
# When false, Deimos will leave Tar and Zip archives as-is after download.
unpack: True
[log]
# Enable syslog and set its log level.
syslog: INFO
# Enable console logging and set its log level.
console: DEBUG
[state]
root: /tmp/deimos