mirror of
https://github.com/Dokploy/templates.git
synced 2026-03-12 01:56:43 -05:00
Add Budget Board blueprint with Docker Compose and template configuration (#345)
This commit is contained in:
42
blueprints/budget-board/docker-compose.yml
Normal file
42
blueprints/budget-board/docker-compose.yml
Normal file
@@ -0,0 +1,42 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
budget-board-server:
|
||||
restart: unless-stopped
|
||||
image: ghcr.io/teelur/budget-board/server:release
|
||||
|
||||
environment:
|
||||
Logging__LogLevel__Default: Information
|
||||
CLIENT_URL: http://budget-board-client:6253
|
||||
POSTGRES_HOST: budget-board-db
|
||||
POSTGRES_DATABASE: budgetboard
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
AUTO_UPDATE_DB: true
|
||||
|
||||
depends_on:
|
||||
budget-board-db:
|
||||
condition: service_healthy
|
||||
budget-board-client:
|
||||
restart: unless-stopped
|
||||
image: ghcr.io/teelur/budget-board/client:release
|
||||
environment:
|
||||
VITE_API_URL: http://budget-board-server
|
||||
PORT: 6253
|
||||
ports:
|
||||
- 6253
|
||||
depends_on:
|
||||
- budget-board-server
|
||||
budget-board-db:
|
||||
image: postgres:16
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
POSTGRES_DB: budgetboard
|
||||
volumes:
|
||||
- "../files/db-data:/var/lib/postgresql/data"
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres -d budgetboard"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
BIN
blueprints/budget-board/image.png
Normal file
BIN
blueprints/budget-board/image.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.7 KiB |
20
blueprints/budget-board/template.toml
Normal file
20
blueprints/budget-board/template.toml
Normal file
@@ -0,0 +1,20 @@
|
||||
[variables]
|
||||
main_domain = "${domain}"
|
||||
postgres_password = "${password:32}"
|
||||
|
||||
[config]
|
||||
[[config.domains]]
|
||||
serviceName = "budget-board-client"
|
||||
port = 6253
|
||||
host = "${main_domain}"
|
||||
path = "/"
|
||||
|
||||
|
||||
[config.env]
|
||||
POSTGRES_PASSWORD = "${postgres_password}"
|
||||
|
||||
|
||||
[[config.mounts]]
|
||||
source = "../files/db-data"
|
||||
target = "/var/lib/postgresql/data"
|
||||
type = "bind"
|
||||
19
meta.json
19
meta.json
@@ -765,6 +765,25 @@
|
||||
"automation"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "budget-board",
|
||||
"name": "Budget Board",
|
||||
"version": "release",
|
||||
"description": "Self-hosted budgeting app with a web UI and a server backed by PostgreSQL.",
|
||||
"logo": "image.png",
|
||||
"links": {
|
||||
"github": "https://github.com/teelur/budget-board",
|
||||
"website": "https://budgetboard.net/",
|
||||
"docs": "https://budgetboard.net/"
|
||||
},
|
||||
"tags": [
|
||||
"finance",
|
||||
"postgres",
|
||||
"self-hosted",
|
||||
"docker",
|
||||
"compose"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "budibase",
|
||||
"name": "Budibase",
|
||||
|
||||
Reference in New Issue
Block a user