mirror of
https://github.com/Dokploy/templates.git
synced 2026-06-15 20:25:24 +02:00
feat: add networking toolbox blueprint (#474)
Add docker-compose.yml for the networking-toolbox service with health checks and environment variables. Include networking-toolbox.png logo and template.toml for configuration. Update meta.json with blueprint metadata to enable self-hosting of networking utilities.
This commit is contained in:
18
blueprints/networking-toolbox/docker-compose.yml
Normal file
18
blueprints/networking-toolbox/docker-compose.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
image: lissy93/networking-toolbox:latest
|
||||
expose:
|
||||
- "3000"
|
||||
environment:
|
||||
NODE_ENV: ${NODE_ENV}
|
||||
PORT: ${PORT}
|
||||
HOST: ${HOST}
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:3000/health"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
BIN
blueprints/networking-toolbox/networking-toolbox.png
Normal file
BIN
blueprints/networking-toolbox/networking-toolbox.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 MiB |
14
blueprints/networking-toolbox/template.toml
Normal file
14
blueprints/networking-toolbox/template.toml
Normal file
@@ -0,0 +1,14 @@
|
||||
[variables]
|
||||
main_domain = "${domain}"
|
||||
|
||||
[config]
|
||||
|
||||
[[config.domains]]
|
||||
serviceName = "app"
|
||||
port = 3000
|
||||
host = "${main_domain}"
|
||||
|
||||
[config.env]
|
||||
NODE_ENV = "production"
|
||||
PORT = "3000"
|
||||
HOST = "0.0.0.0"
|
||||
18
meta.json
18
meta.json
@@ -3598,6 +3598,24 @@
|
||||
"remote"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "networking-toolbox",
|
||||
"name": "Networking Toolbox",
|
||||
"version": "latest",
|
||||
"description": "A collection of handy networking utilities by Lissy93, packaged as a self-hostable web app.",
|
||||
"logo": "networking-toolbox.png",
|
||||
"links": {
|
||||
"github": "https://github.com/lissy93/networking",
|
||||
"website": "https://github.com/lissy93/networking",
|
||||
"docs": "https://github.com/lissy93/networking#readme"
|
||||
},
|
||||
"tags": [
|
||||
"networking",
|
||||
"tools",
|
||||
"utilities",
|
||||
"web"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "nextcloud-aio",
|
||||
"name": "Nextcloud All in One",
|
||||
|
||||
Reference in New Issue
Block a user