Files
core-infrastructure/ignition/base-install-supporting-services.bu
2026-02-07 15:05:27 +00:00

56 lines
1.9 KiB
Plaintext

# Depends on base-install-docker
# Installs Komodo Periphery, Telegraf and Certbot
variant: fcos
version: 1.6.0
storage:
directories:
- path: /var/docker/.supporting-services/komodo/repos/mrmeeb-labs/supporting-services
user:
name: core
group:
name: docker
files:
- path: /var/docker/.supporting-services/telegraf/telegraf.conf
user:
name: core
group:
name: docker
contents:
source: https://git.mrmeeb.stream/mrmeeb-labs/supporting-services/telegraf.conf
- path: /var/docker/.supporting-services/komodo/repos/mrmeeb-labs/supporting-services/docker-compose.yml
user:
name: core
group:
name: docker
contents:
source: https://git.mrmeeb.stream/mrmeeb-labs/supporting-services/raw/branch/main/docker-compose.yml
- path: /var/docker/.supporting-services/komodo/repos/mrmeeb-labs/supporting-services/.env
user:
name: core
group:
name: docker
contents:
source: https://git.mrmeeb.stream/mrmeeb-labs/supporting-services/raw/branch/main/.env
systemd:
units:
# Install supporting services
- name: rpm-ostree-install-supporting-services.service
enabled: true
contents: |
[Unit]
Description=Install Supporting Services
Wants=network-online.target
After=rpm-ostree-install-docker-ce.service
Before=zincati.service
ConditionPathExists=!/var/lib/%N.stamp
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/docker compose -p "supporting-services" --env-file /var/docker/.supporting-services/komodo/repos/mrmeeb-labs/supporting-services/.env -f /var/docker/.supporting-services/komodo/repos/mrmeeb-labs/supporting-services/docker-compose.yml up -d
ExecStart=/usr/bin/touch /var/lib/%N.stamp
[Install]
WantedBy=multi-user.target