mirror of
https://github.com/Dokploy/templates.git
synced 2026-06-15 20:25:24 +02:00
feat(blueprint): add RabbitMQ (#195)
This commit is contained in:
17
blueprints/rabbitmq/docker-compose.yml
Normal file
17
blueprints/rabbitmq/docker-compose.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
services:
|
||||
rabbitmq:
|
||||
image: rabbitmq:4.1-management
|
||||
hostname: rabbitmq
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- RABBITMQ_DEFAULT_USER=${RABBITMQ_DEFAULT_USER}
|
||||
- RABBITMQ_DEFAULT_PASS=${RABBITMQ_DEFAULT_PASS}
|
||||
- RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS=-rabbit log_levels [{connection,error},{default,error}] disk_free_limit ${RABBITMQ_DISK_FREE_LIMIT}
|
||||
volumes:
|
||||
- rabbitmq-data:/var/lib/rabbitmq
|
||||
ports:
|
||||
- 15672
|
||||
- 5672
|
||||
|
||||
volumes:
|
||||
rabbitmq-data: {}
|
||||
1
blueprints/rabbitmq/rabbitmq.svg
Normal file
1
blueprints/rabbitmq/rabbitmq.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 257.45 40.98"><defs><style>.cls-1{fill:#a9b5af;}.cls-2{fill:#f60;}</style></defs><title>RabbitMQ_Logo_RGB</title><path class="cls-1" d="M258,35.72l-1.82,5.68h-0.56l-1.83-5.68h0V41.4h-0.49V35.23h0.89l1.73,5.41h0l1.73-5.41h0.87V41.4h-0.49V35.72h0Zm0,0" transform="translate(-1.11 -0.98)"/><polygon class="cls-1" points="251.6 34.25 249.06 34.25 248.57 34.25 246.04 34.25 246.04 34.74 248.57 34.74 248.57 40.42 249.06 40.42 249.06 34.74 251.6 34.74 251.6 34.25"/><path class="cls-1" d="M194,41.31h-3.62L178.48,4.83V41.31h-3.17V1.66H181l11.08,34.71h0.12L203.32,1.66h5.56V41.31h-3.14V4.83Z" transform="translate(-1.11 -0.98)"/><path class="cls-2" d="M47.8,1.65V41.31h3.44V23.38H56a10.48,10.48,0,0,1,3.7.6c3.51,1.33,3.91,5.4,4.54,8l2,9.38H69.7l-2.25-10.7c-0.66-3.22-1.1-4.6-2-6-1.19-1.85-4.59-2.85-4.59-2.85,5.58-1.09,8-4.83,8-9.93,0-4.68-2.27-10.15-12.69-10.15H47.8Zm3.44,3.16h4.54c9.07,0,9.6,4.82,9.6,7,0,1.81-.33,8.41-11,8.41H51.24V4.82h0Zm0,0" transform="translate(-1.11 -0.98)"/><path class="cls-2" d="M73.79,20.51h3.52c0.32-1.6,1-4.44,5.69-4.44,6.14,0,5.94,5.32,5.94,7.38v2.4s-2,0-3.24.12c-4.69.36-12.35,1.58-12.35,8.65s5.86,7.31,7,7.31a10.06,10.06,0,0,0,4.84-1.15,10.31,10.31,0,0,0,3.66-3.34h0.12v3.87h2.85V22.63c0-2.79.26-9.3-8.55-9.3S73.79,19.21,73.79,20.51Zm15.14,8.08a25.52,25.52,0,0,1-.2,3.16,7.93,7.93,0,0,1-7.86,6.73,3.71,3.71,0,0,1-4.06-3.71c0-1.45.56-4.84,6.13-5.91C84.11,28.64,88.93,28.59,88.93,28.59Z" transform="translate(-1.11 -0.98)"/><path class="cls-2" d="M96.54,1.65V30.11c0,1.54.05,11.83,9.53,11.83,2.28,0,10.6-.8,10.6-14s-7.3-14.59-9.5-14.59a7.89,7.89,0,0,0-7.64,5.78h-0.1V1.65h-2.9Zm16.67,26.21c0,11.07-6.18,11.3-7.14,11.3s-6.53,0-6.53-10.85c0-9,4.33-12.25,7.31-12.25S113.21,19.13,113.21,27.87Z" transform="translate(-1.11 -0.98)"/><path class="cls-2" d="M121.13,1.65V30.11c0,1.54.05,11.83,9.53,11.83,2.28,0,10.6-.8,10.6-14s-7.3-14.59-9.5-14.59a7.89,7.89,0,0,0-7.64,5.78H124V1.65h-2.9Zm16.67,26.21c0,11.07-6.18,11.3-7.14,11.3s-6.53,0-6.53-10.85c0-9,4.33-12.25,7.31-12.25S137.79,19.13,137.79,27.87Z" transform="translate(-1.11 -0.98)"/><path class="cls-2" d="M149,13.95V41.31h-2.87V13.95H149Z" transform="translate(-1.11 -0.98)"/><path class="cls-2" d="M149.66,1.66V6.31h-4.24V1.66h4.24Zm0,0" transform="translate(-1.11 -0.98)"/><path class="cls-2" d="M169,41.69a28.19,28.19,0,0,1-2.92.25,8.48,8.48,0,0,1-5.45-1.57c-1.2-1-1.79-2.76-1.79-5.17V16.69h-4.38V13.95h4.38V7.63l2.85-1.91v8.22H169v2.74h-7.3v17.6c0,0.79-.19,4.87,4.14,4.87a11.18,11.18,0,0,0,3.16-.49v3h0Zm0,0" transform="translate(-1.11 -0.98)"/><path class="cls-2" d="M39.42,17.37H26.65a1.59,1.59,0,0,1-1.6-1.6V3a1.59,1.59,0,0,0-1.6-1.59H18.67A1.59,1.59,0,0,0,17.07,3V15.77a1.59,1.59,0,0,1-1.6,1.6H10.69a1.59,1.59,0,0,1-1.6-1.6V3A1.59,1.59,0,0,0,7.49,1.4H2.7A1.59,1.59,0,0,0,1.11,3V39.72a1.59,1.59,0,0,0,1.6,1.6H39.42a1.59,1.59,0,0,0,1.6-1.6V19A1.59,1.59,0,0,0,39.42,17.37ZM33,30.93a2.39,2.39,0,0,1-2.39,2.4h-3.2a2.39,2.39,0,0,1-2.39-2.4V27.74a2.39,2.39,0,0,1,2.39-2.4h3.2A2.39,2.39,0,0,1,33,27.74v3.19Z" transform="translate(-1.11 -0.98)"/><path class="cls-1" d="M235.26,38.62c3.67-3.14,5.63-9,5.63-17.45,0-12.31-4.65-20.2-13.33-20.2-8.14,0-13.81,6.61-13.81,20.2s4.82,20.16,13.57,20.16l0.37,0v0h16V38ZM217.52,21.18c0-11.3,3.23-16.79,10-16.79s9.56,6.56,9.56,16.79S234.62,38,227.35,38,217.52,32.48,217.52,21.18Z" transform="translate(-1.11 -0.98)"/></svg>
|
||||
|
After Width: | Height: | Size: 3.3 KiB |
25
blueprints/rabbitmq/template.toml
Normal file
25
blueprints/rabbitmq/template.toml
Normal file
@@ -0,0 +1,25 @@
|
||||
[variables]
|
||||
main_domain = "${domain}"
|
||||
management_domain="${domain}"
|
||||
default_user = "admin"
|
||||
default_pass = "${password:8}"
|
||||
disk_free_limit="2147483648"
|
||||
|
||||
[config]
|
||||
env = [
|
||||
"RABBITMQ_DEFAULT_USER=${default_user}",
|
||||
"RABBITMQ_DEFAULT_PASS=${default_pass}",
|
||||
"RABBITMQ_DISK_FREE_LIMIT=${disk_free_limit}"
|
||||
]
|
||||
|
||||
[[config.domains]]
|
||||
serviceName = "rabbitmq"
|
||||
port = 15_672
|
||||
host = "${main_domain}"
|
||||
path = "/"
|
||||
|
||||
[[config.domains]]
|
||||
serviceName = "rabbitmq"
|
||||
port = 5_672
|
||||
host = "${management_domain}"
|
||||
path = "/"
|
||||
17
meta.json
17
meta.json
@@ -2600,5 +2600,22 @@
|
||||
"open-source",
|
||||
"api"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "rabbitmq",
|
||||
"name": "RabbitMQ",
|
||||
"version": "4.1-management",
|
||||
"description": "RabbitMQ is an open source multi-protocol messaging broker.",
|
||||
"logo": "rabbitmq.svg",
|
||||
"links": {
|
||||
"github": "https://github.com/rabbitmq/rabbitmq-server",
|
||||
"website": "https://www.rabbitmq.com/",
|
||||
"docs": "https://www.rabbitmq.com/documentation.html"
|
||||
},
|
||||
"tags": [
|
||||
"message-broker",
|
||||
"queue",
|
||||
"rabbitmq"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user