Skip to content

Commit e27b911

Browse files
authored
add docker stack (#37)
* add docker stack * add basic install script
1 parent a35cc2b commit e27b911

File tree

20 files changed

+1006
-24
lines changed

20 files changed

+1006
-24
lines changed

docker/config/chrony/chrony.conf

+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Welcome to the chrony configuration file. See chrony.conf(5) for more
2+
# information about usable directives.
3+
4+
# Include configuration files found in /etc/chrony/conf.d.
5+
confdir /etc/chrony/conf.d
6+
7+
# This will use (up to):
8+
# - 4 sources from ntp.ubuntu.com which some are ipv6 enabled
9+
# - 2 sources from 2.ubuntu.pool.ntp.org which is ipv6 enabled as well
10+
# - 1 source from [01].ubuntu.pool.ntp.org each (ipv4 only atm)
11+
# This means by default, up to 6 dual-stack and up to 2 additional IPv4-only
12+
# sources will be used.
13+
# At the same time it retains some protection against one of the entries being
14+
# down (compare to just using one of the lines). See (LP: #1754358) for the
15+
# discussion.
16+
#
17+
# https://developers.google.com/time/guides?hl=en
18+
server time1.google.com iburst
19+
server time2.google.com iburst
20+
server time3.google.com iburst
21+
server time4.google.com iburst
22+
23+
# Use time sources from DHCP.
24+
sourcedir /run/chrony-dhcp
25+
26+
# Use NTP sources found in /etc/chrony/sources.d.
27+
sourcedir /etc/chrony/sources.d
28+
29+
# This directive specify the location of the file containing ID/key pairs for
30+
# NTP authentication.
31+
keyfile /etc/chrony/chrony.keys
32+
33+
# This directive specify the file into which chronyd will store the rate
34+
# information.
35+
driftfile /var/lib/chrony/chrony.drift
36+
37+
# Save NTS keys and cookies.
38+
ntsdumpdir /var/lib/chrony
39+
40+
# Uncomment the following line to turn logging on.
41+
#log tracking measurements statistics
42+
43+
# Log files location.
44+
logdir /var/log/chrony
45+
46+
# Stop bad estimates upsetting machine clock.
47+
maxupdateskew 100.0
48+
49+
# This directive enables kernel synchronisation (every 11 minutes) of the
50+
# real-time clock. Note that it can’t be used along with the 'rtcfile' directive.
51+
rtcsync
52+
53+
# Step the system clock instead of slewing it if the adjustment is larger than
54+
# one second, but only in the first three clock updates.
55+
makestep 1 3
56+
57+
# Get TAI-UTC offset and leap seconds from the system tz database.
58+
# This directive must be commented out when using time sources serving
59+
# leap-smeared time.
60+
leapsectz right/UTC
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
apiVersion: 1
2+
3+
providers:
4+
- name: 'Starlink'
5+
orgId: 1
6+
type: file
7+
folder: ''
8+
disableDeletion: true
9+
editable: false
10+
allowUiUpdates: false
11+
options:
12+
path: /etc/grafana/provisioning/dashboards/

0 commit comments

Comments
 (0)