mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
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:
parent
f855b8f927
commit
d8bfbc796a
30
blueprints/cockpit/docker-compose.yml
Normal file
30
blueprints/cockpit/docker-compose.yml
Normal 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
BIN
blueprints/cockpit/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.3 KiB |
15
blueprints/cockpit/template.toml
Normal file
15
blueprints/cockpit/template.toml
Normal 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"
|
17
meta.json
17
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"
|
||||
]
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue
Block a user