66 lines
2.2 KiB
Plaintext
66 lines
2.2 KiB
Plaintext
{
|
|
"ignition": {
|
|
"version": "3.5.0"
|
|
},
|
|
"storage": {
|
|
"directories": [
|
|
{
|
|
"group": {
|
|
"name": "docker"
|
|
},
|
|
"path": "/var/docker/.supporting-services/komodo/repos/mrmeeb-labs/supporting-services",
|
|
"user": {
|
|
"name": "core"
|
|
}
|
|
}
|
|
],
|
|
"files": [
|
|
{
|
|
"group": {
|
|
"name": "docker"
|
|
},
|
|
"path": "/var/docker/.supporting-services/telegraf/telegraf.conf",
|
|
"user": {
|
|
"name": "core"
|
|
},
|
|
"contents": {
|
|
"source": "https://git.mrmeeb.stream/mrmeeb-labs/supporting-services/telegraf.conf"
|
|
}
|
|
},
|
|
{
|
|
"group": {
|
|
"name": "docker"
|
|
},
|
|
"path": "/var/docker/.supporting-services/komodo/repos/mrmeeb-labs/supporting-services/docker-compose.yml",
|
|
"user": {
|
|
"name": "core"
|
|
},
|
|
"contents": {
|
|
"source": "https://git.mrmeeb.stream/mrmeeb-labs/supporting-services/raw/branch/main/docker-compose.yml"
|
|
}
|
|
},
|
|
{
|
|
"group": {
|
|
"name": "docker"
|
|
},
|
|
"path": "/var/docker/.supporting-services/komodo/repos/mrmeeb-labs/supporting-services/.env",
|
|
"user": {
|
|
"name": "core"
|
|
},
|
|
"contents": {
|
|
"source": "https://git.mrmeeb.stream/mrmeeb-labs/supporting-services/raw/branch/main/.env"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"systemd": {
|
|
"units": [
|
|
{
|
|
"contents": "[Unit]\nDescription=Install Supporting Services\nWants=network-online.target\nAfter=rpm-ostree-install-docker-ce.service\nBefore=zincati.service\nConditionPathExists=!/var/lib/%N.stamp\n\n[Service]\nType=oneshot\nRemainAfterExit=yes\nExecStart=/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\nExecStart=/usr/bin/touch /var/lib/%N.stamp\n\n[Install]\nWantedBy=multi-user.target",
|
|
"enabled": true,
|
|
"name": "rpm-ostree-install-supporting-services.service"
|
|
}
|
|
]
|
|
}
|
|
}
|