-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig.toml
73 lines (55 loc) · 2.36 KB
/
config.toml
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# Log level. values=debug, info, warn, error
log_level = "info"
# Service name used to show the status of the service
service_name = "tedge-container-plugin"
# Data directory used to store state such as docker compose project files
# The first writable directory will be used where the root directory exists
data_dir = ["/data/tedge-container-plugin", "/var/tedge-container-plugin"]
# Remove the legacy tedge-container-monitor service
delete_legacy = true
[filter.include]
# Only include containers matching the given names (as regex)
names = [ ]
# Only include containers with any of the given labels
labels = [ ]
[filter.exclude]
# Exclude containers where the name matches the given regex patterns
names = [ "^buildx.*" ]
# Exclude containers which have any of the given labels
labels = [ "tedge.ignore" ]
[client]
# Certificate key used to connect to local thin-edge.io services (only used if the file exists)
key = "/etc/tedge/device-certs/local-tedge.key"
# Certificate file used to connect to local thin-edge.io services (only used if the file exists)
cert_file = "/etc/tedge/device-certs/local-tedge.crt"
[client.mqtt]
# thin-edge.io MQTT host
host = "127.0.0.1"
# 0 = auto-detection, either 8883 when using certificates, or 1883 (no certificates)
port = 0
[client.c8y]
# thin-edge.io c8y local proxy host
host = "127.0.0.1"
# thin-edge.io c8y local proxy port
port = 8001
[container]
# Always try pulling the image without checking if a local image already exists or not
alwayspull = false
# Shared network which each container will be joined to
network = "tedge"
# Prune any unused images after creating/deleting the containers
pruneimages = true
[metrics]
# Enable/disable the container telemetry metrics such as memory etc. Regardless of this value, the containers status will still be sent, but the measurements will not
enabled = true
# How often the container status/telemetry should be collected. The interval will be the minimal interval as it is the time to sleep between collections
interval = "300s"
[events]
# Enable/disable publishing of container engine events
enabled = true
[delete_from_cloud]
# Enable/Disable the deletion of services from the cloud (using REST API) when a container is removed
enabled = true
[registry]
# Path to the file containing container registry credentials
credentials_path = "/data/tedge-container-plugin/credentials.toml"