Skip to content

Instantly share code, notes, and snippets.

@neatorobito
Created September 14, 2019 02:14
Show Gist options
  • Save neatorobito/8ffe149b0dc64039aa3ebec9827389be to your computer and use it in GitHub Desktop.
Save neatorobito/8ffe149b0dc64039aa3ebec9827389be to your computer and use it in GitHub Desktop.
Cockpit CMS Captain Definition
{
"captainVersion": "2",
"documentation": "Taken from https://hub.docker.com/r/agentejo/cockpit/",
"dockerCompose": {
"version": "7",
"services": {
"$$cap_appname": {
"image": "agentejo/cockpit",
"restart": "always",
"volumes": [
"$$cap_appname-storage:/var/www/html/storage",
"$$cap_appname-config:/var/www/html/config"
],
"environment": {
"COCKPIT_SESSION_NAME": "$$cap_appname"
}
}
}
},
"instructions":{
"end":"Cockpit is now deployed. It may take a few moments to initialize. \n\n Visit http://$$cap_appname.$$cap_root_domain/install to finish setting things up.",
"start":"Cockpit is a free and open source content management system and API wrapper for a simple SQLite database.\nFor more information and available options, see:\n\n https://hub.docker.com/r/agentejo/cockpit/"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment