2023-03-29 13:30:45 -05:00
|
|
|
#!/bin/vbash
|
|
|
|
|
|
|
|
# Container networks
|
2023-05-25 11:11:13 -05:00
|
|
|
set container network containers prefix '10.5.0.0/24'
|
2023-03-29 13:30:45 -05:00
|
|
|
|
|
|
|
# haproxy-k8s-api
|
2024-01-12 20:02:35 -06:00
|
|
|
set container name haproxy-k8s-api image 'docker.io/library/haproxy:2.9.2'
|
2023-03-29 13:30:45 -05:00
|
|
|
set container name haproxy-k8s-api memory '0'
|
2023-05-25 11:11:13 -05:00
|
|
|
set container name haproxy-k8s-api network containers address '10.5.0.2'
|
2023-03-29 13:30:45 -05:00
|
|
|
set container name haproxy-k8s-api restart 'on-failure'
|
|
|
|
set container name haproxy-k8s-api shared-memory '0'
|
|
|
|
set container name haproxy-k8s-api volume config source '/config/containers/haproxy/config/haproxy.cfg'
|
2023-05-06 11:53:26 -05:00
|
|
|
set container name haproxy-k8s-api volume config destination '/usr/local/etc/haproxy/haproxy.cfg'
|
2023-03-29 13:30:45 -05:00
|
|
|
set container name haproxy-k8s-api volume config mode 'ro'
|
|
|
|
|
2024-01-11 09:15:25 -06:00
|
|
|
# haproxy-k3s-api
|
2024-01-12 20:02:35 -06:00
|
|
|
set container name haproxy-k3s-api image 'docker.io/library/haproxy:2.9.2'
|
2024-01-11 09:15:25 -06:00
|
|
|
set container name haproxy-k3s-api memory '0'
|
|
|
|
set container name haproxy-k3s-api network containers address '10.5.0.3'
|
|
|
|
set container name haproxy-k3s-api restart 'on-failure'
|
|
|
|
set container name haproxy-k3s-api shared-memory '0'
|
|
|
|
set container name haproxy-k3s-api volume config source '/config/containers/haproxy-k3s/config/haproxy.cfg'
|
|
|
|
set container name haproxy-k3s-api volume config destination '/usr/local/etc/haproxy/haproxy.cfg'
|
|
|
|
set container name haproxy-k3s-api volume config mode 'ro'
|
|
|
|
|
2023-03-29 13:30:45 -05:00
|
|
|
# node-exporter
|
|
|
|
set container name node-exporter environment procfs value '/host/proc'
|
|
|
|
set container name node-exporter environment rootfs value '/host/rootfs'
|
|
|
|
set container name node-exporter environment sysfs value '/host/sys'
|
2023-11-12 18:17:35 -06:00
|
|
|
set container name node-exporter image 'quay.io/prometheus/node-exporter:v1.7.0'
|
2023-03-29 13:30:45 -05:00
|
|
|
set container name node-exporter memory '0'
|
2023-05-06 14:43:32 -05:00
|
|
|
set container name node-exporter allow-host-networks
|
2023-03-29 13:30:45 -05:00
|
|
|
set container name node-exporter restart 'on-failure'
|
|
|
|
set container name node-exporter shared-memory '0'
|
2023-05-06 11:53:26 -05:00
|
|
|
set container name node-exporter volume procfs source '/proc'
|
2023-03-29 13:30:45 -05:00
|
|
|
set container name node-exporter volume procfs destination '/host/proc'
|
|
|
|
set container name node-exporter volume procfs mode 'ro'
|
2023-05-06 11:53:26 -05:00
|
|
|
set container name node-exporter volume rootfs source '/'
|
2023-03-29 13:30:45 -05:00
|
|
|
set container name node-exporter volume rootfs destination '/host/rootfs'
|
|
|
|
set container name node-exporter volume rootfs mode 'ro'
|
2023-05-06 11:53:26 -05:00
|
|
|
set container name node-exporter volume sysfs source '/sys'
|
2023-03-29 13:30:45 -05:00
|
|
|
set container name node-exporter volume sysfs destination '/host/sys'
|
|
|
|
set container name node-exporter volume sysfs mode 'ro'
|
|
|
|
|
|
|
|
# speedtest-exporter
|
2023-06-28 19:20:56 -05:00
|
|
|
set container name speedtest-exporter image 'ghcr.io/miguelndecarvalho/speedtest-exporter:v3.5.4'
|
2023-03-29 13:30:45 -05:00
|
|
|
set container name speedtest-exporter memory '0'
|
2023-05-06 14:59:23 -05:00
|
|
|
set container name speedtest-exporter allow-host-networks
|
2023-03-29 13:30:45 -05:00
|
|
|
set container name speedtest-exporter restart 'on-failure'
|
|
|
|
set container name speedtest-exporter shared-memory '0'
|
|
|
|
|
|
|
|
# udp-broadcast-relay-mdns
|
|
|
|
set container name udp-broadcast-relay-mdns allow-host-networks
|
|
|
|
set container name udp-broadcast-relay-mdns cap-add 'net-raw'
|
2024-01-03 15:44:12 -06:00
|
|
|
set container name udp-broadcast-relay-mdns environment CFG_DEV value 'eth4.20;eth4.40'
|
2023-03-29 13:30:45 -05:00
|
|
|
set container name udp-broadcast-relay-mdns environment CFG_ID value '2'
|
|
|
|
set container name udp-broadcast-relay-mdns environment CFG_MULTICAST value '224.0.0.251'
|
|
|
|
set container name udp-broadcast-relay-mdns environment CFG_PORT value '5353'
|
|
|
|
set container name udp-broadcast-relay-mdns environment SEPARATOR value ';'
|
|
|
|
set container name udp-broadcast-relay-mdns image 'ghcr.io/onedr0p/udp-broadcast-relay-redux:1.0.27'
|
|
|
|
set container name udp-broadcast-relay-mdns memory '0'
|
|
|
|
set container name udp-broadcast-relay-mdns restart 'on-failure'
|
|
|
|
set container name udp-broadcast-relay-mdns shared-memory '0'
|
|
|
|
|
|
|
|
# udp-broadcast-relay-sonos
|
|
|
|
set container name udp-broadcast-relay-sonos allow-host-networks
|
|
|
|
set container name udp-broadcast-relay-sonos cap-add 'net-raw'
|
2024-01-03 15:44:12 -06:00
|
|
|
set container name udp-broadcast-relay-sonos environment CFG_DEV value 'eth4.20;eth4.40'
|
2023-03-29 13:30:45 -05:00
|
|
|
set container name udp-broadcast-relay-sonos environment CFG_ID value '1'
|
|
|
|
set container name udp-broadcast-relay-sonos environment CFG_MULTICAST value '239.255.255.250'
|
|
|
|
set container name udp-broadcast-relay-sonos environment CFG_PORT value '1900'
|
|
|
|
set container name udp-broadcast-relay-sonos environment SEPARATOR value ';'
|
|
|
|
set container name udp-broadcast-relay-sonos image 'ghcr.io/onedr0p/udp-broadcast-relay-redux:1.0.27'
|
|
|
|
set container name udp-broadcast-relay-sonos memory '0'
|
|
|
|
set container name udp-broadcast-relay-sonos restart 'on-failure'
|
|
|
|
set container name udp-broadcast-relay-sonos shared-memory '0'
|
|
|
|
|
|
|
|
# unifi
|
|
|
|
set container name unifi environment RUNAS_UID0 value 'false'
|
|
|
|
set container name unifi environment TZ value 'America/Chicago'
|
2023-12-27 15:07:19 -06:00
|
|
|
set container name unifi environment PGID value '102'
|
|
|
|
set container name unifi environment PUID value '999'
|
|
|
|
set container name unifi image 'ghcr.io/goofball222/unifi:8.0.24'
|
2023-03-29 13:30:45 -05:00
|
|
|
set container name unifi memory '0'
|
2023-05-25 11:11:13 -05:00
|
|
|
set container name unifi network containers address '10.5.0.10'
|
2023-03-29 13:30:45 -05:00
|
|
|
set container name unifi restart 'on-failure'
|
|
|
|
set container name unifi shared-memory '0'
|
2023-12-27 15:07:19 -06:00
|
|
|
set container name unifi volume cert source '/config/containers/unifi/cert'
|
|
|
|
set container name unifi volume cert destination '/usr/lib/unifi/cert'
|
|
|
|
set container name unifi volume cert mode 'rw'
|
|
|
|
set container name unifi volume data source '/config/containers/unifi/data'
|
|
|
|
set container name unifi volume data destination '/usr/lib/unifi/data'
|
2023-05-06 11:53:26 -05:00
|
|
|
set container name unifi volume data mode 'rw'
|
2023-12-27 15:07:19 -06:00
|
|
|
set container name unifi volume logs source '/config/containers/unifi/logs'
|
|
|
|
set container name unifi volume logs destination '/usr/lib/unifi/logs'
|
|
|
|
set container name unifi volume logs mode 'rw'
|
2023-05-02 15:39:07 -05:00
|
|
|
|
|
|
|
# onepassword-connect
|
2023-08-21 16:05:36 -05:00
|
|
|
set container name onepassword-connect image 'docker.io/1password/connect-api:1.7.2'
|
2023-05-02 15:39:07 -05:00
|
|
|
set container name onepassword-connect environment TZ value 'America/Chicago'
|
|
|
|
set container name onepassword-connect memory '0'
|
2023-05-25 11:11:13 -05:00
|
|
|
set container name onepassword-connect network containers address '10.5.0.5'
|
2023-05-02 15:39:07 -05:00
|
|
|
set container name onepassword-connect shared-memory '0'
|
|
|
|
set container name onepassword-connect volume credentials source '/config/secrets/1password-credentials.json'
|
|
|
|
set container name onepassword-connect volume credentials destination '/home/opuser/.op/1password-credentials.json'
|
|
|
|
set container name onepassword-connect volume credentials mode 'ro'
|
|
|
|
set container name onepassword-connect volume data source '/tmp/onepassword/data'
|
|
|
|
set container name onepassword-connect volume data destination '/home/opuser/.op/data'
|
|
|
|
set container name onepassword-connect volume data mode 'rw'
|
|
|
|
|
|
|
|
# onepassword-sync
|
2023-08-21 16:05:36 -05:00
|
|
|
set container name onepassword-sync image 'docker.io/1password/connect-sync:1.7.2'
|
2023-05-02 15:39:07 -05:00
|
|
|
set container name onepassword-sync environment TZ value 'America/Chicago'
|
|
|
|
set container name onepassword-sync memory '0'
|
|
|
|
set container name onepassword-sync shared-memory '0'
|
2023-05-25 11:11:13 -05:00
|
|
|
set container name onepassword-sync network containers address '10.5.0.6'
|
2023-05-02 15:39:07 -05:00
|
|
|
set container name onepassword-sync volume credentials source '/config/secrets/1password-credentials.json'
|
|
|
|
set container name onepassword-sync volume credentials destination '/home/opuser/.op/1password-credentials.json'
|
|
|
|
set container name onepassword-sync volume credentials mode 'ro'
|
2023-05-03 20:32:33 -05:00
|
|
|
set container name onepassword-sync volume data source '/tmp/onepassword/data'
|
2023-05-02 15:39:07 -05:00
|
|
|
set container name onepassword-sync volume data destination '/home/opuser/.op/data'
|
|
|
|
set container name onepassword-sync volume data mode 'rw'
|