From d6e0f25dcf94cfc65ecc1ca419de3808b69d08b8 Mon Sep 17 00:00:00 2001 From: Artur Heinze Date: Sat, 14 Dec 2024 23:40:26 +0100 Subject: [PATCH] add Cockpit service --- public/svgs/cockpit.svg | 7 +++++++ templates/compose/cockpit.yaml | 19 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100755 public/svgs/cockpit.svg create mode 100644 templates/compose/cockpit.yaml diff --git a/public/svgs/cockpit.svg b/public/svgs/cockpit.svg new file mode 100755 index 000000000..fdb81d470 --- /dev/null +++ b/public/svgs/cockpit.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/templates/compose/cockpit.yaml b/templates/compose/cockpit.yaml new file mode 100644 index 000000000..964b5184e --- /dev/null +++ b/templates/compose/cockpit.yaml @@ -0,0 +1,19 @@ +# documentation: https://getcockpit.com/documentation/ +# slogan: Cockpit is a headless content platform that is lightweight, fast and ready for takeoff. +# tags: cockpit, headless, cms, database, nosql +# logo: svgs/cockpit.svg +# port: 80 + +services: + cockpit: + image: cockpithq/cockpit:core-latest + volumes: + - cockpit-config:/var/www/html/config + - cockpit-spaces:/var/www/html/.spaces + - cockpit-storage:/var/www/html/storage + healthcheck: + test: + ["CMD", "wget", "-q", "--spider", "http://127.0.0.1/api/system/healthcheck"] + interval: 5s + timeout: 20s + retries: 10