mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
✨ Add tooljet template (#74)
* ✨ Add tooljet template
* Update blueprints/tooljet/docker-compose.yml
* Update blueprints/tooljet/docker-compose.yml
---------
Co-authored-by: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com>
This commit is contained in:
parent
e739285eaa
commit
495de15164
44
blueprints/tooljet/docker-compose.yml
Normal file
44
blueprints/tooljet/docker-compose.yml
Normal file
@ -0,0 +1,44 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
tooljet:
|
||||
tty: true
|
||||
stdin_open: true
|
||||
image: tooljet/tooljet:ee-lts-latest
|
||||
restart: always
|
||||
env_file: .env
|
||||
# ports:
|
||||
# - 80:80
|
||||
expose:
|
||||
- 80
|
||||
deploy: # Please adjust the resource according to your usecase
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1'
|
||||
memory: 2G
|
||||
depends_on:
|
||||
- postgres
|
||||
environment:
|
||||
SERVE_CLIENT: "true"
|
||||
PORT: "80"
|
||||
command: npm run start:prod
|
||||
|
||||
postgres:
|
||||
image: postgres:13
|
||||
restart: always
|
||||
deploy: # Please adjust the resource according to your usecase
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2'
|
||||
memory: 3G
|
||||
volumes:
|
||||
- ../files/postgres:/var/lib/postgresql/data
|
||||
env_file: .env
|
||||
environment:
|
||||
- POSTGRES_USER=${PG_USER}
|
||||
- POSTGRES_PASSWORD=${PG_PASS}
|
||||
|
||||
volumes:
|
||||
certs:
|
||||
logs:
|
||||
fallbackcerts:
|
BIN
blueprints/tooljet/logo.png
Normal file
BIN
blueprints/tooljet/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 359 B |
96
blueprints/tooljet/template.toml
Normal file
96
blueprints/tooljet/template.toml
Normal file
@ -0,0 +1,96 @@
|
||||
[variables]
|
||||
main_domain = "${domain}"
|
||||
pg_pass = "${password}"
|
||||
|
||||
[config]
|
||||
mounts = []
|
||||
|
||||
env = [
|
||||
"# Create .env from this example file and replace values for the environment.",
|
||||
"# The application expects a separate .env.test for test environment configuration",
|
||||
"# Get detailed information about each variable here: https://docs.tooljet.com/docs/setup/env-vars",
|
||||
"",
|
||||
"TOOLJET_HOST=http://${main_domain}:80",
|
||||
"TOOLJET_HTTP_PROXY=http://${main_domain}:80",
|
||||
"LOCKBOX_MASTER_KEY=${password:32}",
|
||||
"SECRET_KEY_BASE=${password:64}",
|
||||
"",
|
||||
"# DATABASE CONFIG",
|
||||
"ORM_LOGGING=all",
|
||||
"PG_DB=tooljet_production",
|
||||
"PG_USER=postgres",
|
||||
"PG_HOST=postgres",
|
||||
"PG_PASS=${pg_pass}",
|
||||
"",
|
||||
"# The above postgres values is set to its default state. If necessary, kindly modify it according to your personal preference.",
|
||||
"",
|
||||
"# TOOLJET DATABASE",
|
||||
"TOOLJET_DB=tooljet_db",
|
||||
"TOOLJET_DB_USER=postgres",
|
||||
"TOOLJET_DB_HOST=postgres",
|
||||
"TOOLJET_DB_PASS=${pg_pass}",
|
||||
"",
|
||||
"PGRST_DB_URI=postgres://postgres:${pg_pass}@postgres/tooljet_db",
|
||||
"PGRST_HOST=localhost:3002",
|
||||
"PGRST_JWT_SECRET=${password:32}",
|
||||
"PGRST_SERVER_PORT=3002",
|
||||
"",
|
||||
"# Redis",
|
||||
"REDIS_HOST=localhost",
|
||||
"REDIS_PORT=6379",
|
||||
"REDIS_USER=default",
|
||||
"REDIS_PASSWORD=",
|
||||
"",
|
||||
"# Checks every 24 hours to see if a new version of ToolJet is available",
|
||||
"# (Enabled by default. Set false to disable)",
|
||||
"CHECK_FOR_UPDATES=true",
|
||||
"",
|
||||
"# Checks every 24 hours to update app telemetry data to ToolJet hub.",
|
||||
"# (Telemetry is enabled by default. Set value to true to disable.)",
|
||||
"DISABLE_TOOLJET_TELEMETRY=true",
|
||||
"",
|
||||
"GOOGLE_CLIENT_ID=",
|
||||
"GOOGLE_CLIENT_SECRET=",
|
||||
"",
|
||||
"# EMAIL CONFIGURATION",
|
||||
"DEFAULT_FROM_EMAIL=hello@tooljet.io",
|
||||
"SMTP_USERNAME=",
|
||||
"SMTP_PASSWORD=",
|
||||
"SMTP_DOMAIN=",
|
||||
"SMTP_PORT=",
|
||||
"",
|
||||
"# DISABLE USER SIGNUPS (true or false). only applicable if Multi-Workspace feature is enabled",
|
||||
"DISABLE_SIGNUPS=",
|
||||
"",
|
||||
"# OBSERVABILITY",
|
||||
"APM_VENDOR=",
|
||||
"SENTRY_DNS=",
|
||||
"SENTRY_DEBUG=",
|
||||
"",
|
||||
"# FEATURE TOGGLE",
|
||||
"COMMENT_FEATURE_ENABLE=",
|
||||
"ENABLE_MULTIPLAYER_EDITING=true",
|
||||
"ENABLE_MARKETPLACE_FEATURE=true",
|
||||
"",
|
||||
"# SSO (Applicable only for Multi-Workspace)",
|
||||
"SSO_GOOGLE_OAUTH2_CLIENT_ID=",
|
||||
"SSO_GIT_OAUTH2_CLIENT_ID=",
|
||||
"SSO_GIT_OAUTH2_CLIENT_SECRET=",
|
||||
"SSO_GIT_OAUTH2_HOST=",
|
||||
"SSO_ACCEPTED_DOMAINS=",
|
||||
"SSO_DISABLE_SIGNUPS=",
|
||||
"",
|
||||
"#ONBOARDING",
|
||||
"ENABLE_ONBOARDING_QUESTIONS_FOR_ALL_SIGN_UPS=",
|
||||
"",
|
||||
"#session expiry in minutes",
|
||||
"USER_SESSION_EXPIRY=2880",
|
||||
"",
|
||||
"#TELEMETRY",
|
||||
"DEPLOYMENT_PLATFORM=docker"
|
||||
]
|
||||
|
||||
[[config.domains]]
|
||||
serviceName = "tooljet"
|
||||
port = 80
|
||||
host = "${main_domain}"
|
17
meta.json
17
meta.json
@ -2702,6 +2702,23 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "tooljet",
|
||||
"name": "Tooljet",
|
||||
"version": "ee-lts-latest",
|
||||
"description": "Tooljet is an open-source low-code platform that allows you to build internal tools quickly and efficiently. It provides a user-friendly interface for creating applications without extensive coding knowledge.",
|
||||
"logo": "logo.png",
|
||||
"links": {
|
||||
"github":"https://github.com/ToolJet/ToolJet",
|
||||
"website": "https://tooljet.ai/",
|
||||
"docs": "https://docs.tooljet.ai/"
|
||||
},
|
||||
"tags": [
|
||||
"file-sync",
|
||||
"file-sharing",
|
||||
"self-hosted"
|
||||
],
|
||||
},
|
||||
{
|
||||
"id": "onetimesecret",
|
||||
"name": "One Time Secret",
|
||||
"version": "latest",
|
||||
|
Loading…
Reference in New Issue
Block a user