mirror of
https://github.com/Dokploy/templates.git
synced 2026-06-15 20:25:24 +02:00
Add initial template configuration for cup service (#355)
- Created a new TOML template for the cup service. - Defined main domain variable and service configuration. - Specified service name, port, and host for the cup service. - Configured environment variables and mounted Docker socket.
This commit is contained in:
11
blueprints/cup/docker-compose.yml
Normal file
11
blueprints/cup/docker-compose.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
cup:
|
||||
image: ghcr.io/sergi0g/cup:latest
|
||||
restart: unless-stopped
|
||||
command: serve
|
||||
ports:
|
||||
- "8000"
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
BIN
blueprints/cup/image.png
Normal file
BIN
blueprints/cup/image.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 47 KiB |
17
blueprints/cup/template.toml
Normal file
17
blueprints/cup/template.toml
Normal file
@@ -0,0 +1,17 @@
|
||||
[variables]
|
||||
main_domain = "${domain}"
|
||||
|
||||
[config]
|
||||
|
||||
[[config.domains]]
|
||||
serviceName = "cup"
|
||||
port = 8000
|
||||
host = "${main_domain}"
|
||||
|
||||
[config.env]
|
||||
|
||||
[[config.mounts]]
|
||||
serviceName = "cup"
|
||||
source = "/var/run/docker.sock"
|
||||
target = "/var/run/docker.sock"
|
||||
type = "bind"
|
||||
19
meta.json
19
meta.json
@@ -1444,6 +1444,25 @@
|
||||
"firewall"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "cup",
|
||||
"name": "Cup",
|
||||
"version": "latest",
|
||||
"description": "Cup is a self-hosted Docker container management UI.",
|
||||
"logo": "image.png",
|
||||
"links": {
|
||||
"github": "https://github.com/sergi0g/cup",
|
||||
"website": "https://cup.sh",
|
||||
"docs": "https://github.com/sergi0g/cup"
|
||||
},
|
||||
"tags": [
|
||||
"docker",
|
||||
"container",
|
||||
"management",
|
||||
"ui",
|
||||
"self-hosted"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "cyberchef",
|
||||
"name": "CyberChef",
|
||||
|
||||
Reference in New Issue
Block a user