Add Cockpit blueprint with Docker Compose and configuration files

- Introduced Docker Compose setup for Cockpit service, including environment variables and volume configuration.
- Added logo for Cockpit.
- Created template.toml for Cockpit with default variables for configuration.
- Updated meta.json to include Cockpit with detailed description, logo, and relevant links.
This commit is contained in:
Mauricio Siu 2025-03-30 20:50:02 -06:00
parent f855b8f927
commit d8bfbc796a
4 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,30 @@
version: "3"
services:
cockpit:
image: cockpithq/cockpit:core-2.11.0
ports:
- "80"
environment:
- COCKPIT_SESSION_NAME=cockpit
- COCKPIT_SALT=${SALT}
- COCKPIT_DATABASE_SERVER=mongodb://${MONGO_USERNAME}:${MONGO_PASSWORD}@mongo:27017
- COCKPIT_DATABASE_NAME=cockpit
volumes:
- html:/var/www/html
- data:/var/www/html/storage/data
depends_on:
- mongo
mongo:
image: mongo:4
environment:
- MONGO_INITDB_ROOT_PASSWORD=${MONGO_PASSWORD}
- MONGO_INITDB_ROOT_USERNAME=${MONGO_USERNAME}
volumes:
- mongo-data:/data/db
volumes:
html:
data:
mongo-data:

BIN
blueprints/cockpit/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

View File

@ -0,0 +1,15 @@
[variables]
SALT = "${password:32}"
MONGO_PASSWORD = "${password:16}"
[config]
[[config.domains]]
serviceName = "cockpit"
port = 80
host = "${domain}"
[config.env]
SALT = "${SALT}"
MONGO_PASSWORD = "${MONGO_PASSWORD}"
MONGO_USERNAME = "mongo"

View File

@ -2416,5 +2416,22 @@
"web-based",
"console"
]
},
{
"id": "cockpit",
"name": "Cockpit",
"version": "core-2.11.0",
"description": "Cockpit is a headless content platform designed to streamline the creation, connection, and delivery of content for creators, marketers, and developers. It is built with an API-first approach, enabling limitless digital solutions.",
"logo": "logo.png",
"links": {
"github": "https://github.com/Cockpit-HQ",
"website": "https://getcockpit.com",
"docs": "https://getcockpit.com/documentation"
},
"tags": [
"cms",
"content-management",
"api"
]
}
]