diff --git a/blueprints/cockpit/docker-compose.yml b/blueprints/cockpit/docker-compose.yml new file mode 100644 index 0000000..3c82389 --- /dev/null +++ b/blueprints/cockpit/docker-compose.yml @@ -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: \ No newline at end of file diff --git a/blueprints/cockpit/logo.png b/blueprints/cockpit/logo.png new file mode 100644 index 0000000..44a6bbc Binary files /dev/null and b/blueprints/cockpit/logo.png differ diff --git a/blueprints/cockpit/template.toml b/blueprints/cockpit/template.toml new file mode 100644 index 0000000..891a8e7 --- /dev/null +++ b/blueprints/cockpit/template.toml @@ -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" \ No newline at end of file diff --git a/meta.json b/meta.json index 265b08b..9f35b67 100644 --- a/meta.json +++ b/meta.json @@ -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" + ] } ] \ No newline at end of file