Skip to content

Commit 974d425

Browse files
authored
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.
1 parent 4ebc30a commit 974d425

File tree

4 files changed

+47
-0
lines changed

4 files changed

+47
-0
lines changed

blueprints/cup/docker-compose.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: "3.8"
2+
3+
services:
4+
cup:
5+
image: ghcr.io/sergi0g/cup:latest
6+
restart: unless-stopped
7+
command: serve
8+
ports:
9+
- "8000"
10+
volumes:
11+
- /var/run/docker.sock:/var/run/docker.sock

blueprints/cup/image.png

46.6 KB
Loading

blueprints/cup/template.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[variables]
2+
main_domain = "${domain}"
3+
4+
[config]
5+
6+
[[config.domains]]
7+
serviceName = "cup"
8+
port = 8000
9+
host = "${main_domain}"
10+
11+
[config.env]
12+
13+
[[config.mounts]]
14+
serviceName = "cup"
15+
source = "/var/run/docker.sock"
16+
target = "/var/run/docker.sock"
17+
type = "bind"

meta.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1444,6 +1444,25 @@
14441444
"firewall"
14451445
]
14461446
},
1447+
{
1448+
"id": "cup",
1449+
"name": "Cup",
1450+
"version": "latest",
1451+
"description": "Cup is a self-hosted Docker container management UI.",
1452+
"logo": "image.png",
1453+
"links": {
1454+
"github": "https://github.com/sergi0g/cup",
1455+
"website": "https://cup.sh",
1456+
"docs": "https://github.com/sergi0g/cup"
1457+
},
1458+
"tags": [
1459+
"docker",
1460+
"container",
1461+
"management",
1462+
"ui",
1463+
"self-hosted"
1464+
]
1465+
},
14471466
{
14481467
"id": "cyberchef",
14491468
"name": "CyberChef",

0 commit comments

Comments
 (0)