add Cockpit service

This commit is contained in:
Artur Heinze
2024-12-14 23:40:26 +01:00
parent aae54e8847
commit d6e0f25dcf
2 changed files with 26 additions and 0 deletions

View File

@@ -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