Merge branch 'Dokploy:main' into main

This commit is contained in:
Naterfute 2025-04-20 19:05:25 -07:00 committed by GitHub
commit 146187c3a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 462 additions and 708 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

View File

@ -0,0 +1,37 @@
services:
mysql:
image: mysql:8.4
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: $DB_PASSWORD
MYSQL_DATABASE: bugsink
volumes:
- my-datavolume:/var/lib/mysql
healthcheck:
test: ["CMD-SHELL", "exit | mysql -h localhost -P 3306 -u root -p$$MYSQL_ROOT_PASSWORD" ] # 'exit |' closes the MySQL input prompt
interval: 1s
timeout: 20s
retries: 30
web:
image: bugsink/bugsink
depends_on:
mysql:
condition: service_healthy
restart: unless-stopped
ports:
- "8000"
environment:
SECRET_KEY: "${SECRET_KEY}"
CREATE_SUPERUSER: admin:${ADMIN_PASSWORD}
PORT: 8000
DATABASE_URL: mysql://root:${DB_PASSWORD}@mysql:3306/bugsink
BASE_URL: http://${MAIN_DOMAIN}
healthcheck:
test: ["CMD-SHELL", "python -c 'import requests; requests.get(\"http://localhost:8000/\").raise_for_status()'"]
interval: 5s
timeout: 20s
retries: 10
volumes:
my-datavolume:

View File

@ -0,0 +1,18 @@
[variables]
main_domain = "${domain}"
secret_key = "#&^%@!z$*p9s8r7q6p5o4n3m2l1k0j9h8g7f6e5d4c3b2a1Z0Y9X8W7V6U5T4S3R2Q1P0O9N8M7L6K5J4I3H2G1F0E9D8C7B6A5"
db_password = "${password:16}"
admin_password = "${password:16}"
[config]
[config.env]
DB_PASSWORD = "${db_password}"
MAIN_DOMAIN = "${main_domain}"
SECRET_KEY = "${secret_key}"
ADMIN_PASSWORD = "${admin_password}"
[[config.domains]]
serviceName = "web"
port = 8_000
host = "${main_domain}"

View File

@ -0,0 +1,45 @@
services:
onetimesecret-redis:
image: redis:7-alpine
command: redis-server --requirepass ${REDIS_PASSWORD}
restart: unless-stopped
healthcheck:
test:
- CMD
- redis-cli
- ping
interval: 30s
timeout: 10s
retries: 3
onetimesecret:
image: 'onetimesecret/onetimesecret:latest'
restart: unless-stopped
environment:
# To see all available environment variables, visit:
# https://github.com/onetimesecret/onetimesecret/blob/develop/etc/config.example.yaml
- AUTH_AUTOVERIFY=true
- AUTH_SIGNUP=true
# Accounts created with this email address will have admin access
- COLONEL=${COLONEL}
# If you change your domain, make sure to update the HOST environment variable.
- HOST=${HOST}
- RACK_ENV=production
- REDIS_URL=redis://:${REDIS_PASSWORD}@onetimesecret-redis:6379/0
- SECRET=${SECRET}
- SSL=true
depends_on:
- onetimesecret-redis
healthcheck:
test:
- CMD
- ruby
- '-rnet/http'
- '-e'
- "exit(Net::HTTP.get_response(URI('http://localhost:3000')).is_a?(Net::HTTPSuccess) ? 0 : 1)"
interval: 30s
timeout: 10s
retries: 3

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg baseProfile="tiny-ps" version="1.2" xmlns="http://www.w3.org/2000/svg" width="1445" height="1445">
<title>Onetime Secret</title>
<path d="M0 0 C476.85 0 953.7 0 1445 0 C1445 476.85 1445 953.7 1445 1445 C968.15 1445 491.3 1445 0 1445 C0 968.15 0 491.3 0 0 Z " fill="#DC4A22" transform="translate(0,0)"/>
<path d="M0 0 C1.12 -0.01 2.23 -0.01 3.38 -0.02 C41.15 -0.21 76.81 2.74 113.82 10.2 C114.86 10.41 115.9 10.62 116.96 10.83 C161.35 20.12 209.54 39.34 243.83 69.46 C245.42 70.85 247.07 72.16 248.73 73.45 C254.39 78.13 258.33 82.3 259.33 89.77 C259.67 94.06 259.76 98.33 259.8 102.63 C259.86 104.53 259.93 106.42 260 108.32 C260.18 113.35 260.29 118.38 260.38 123.41 C260.49 128.6 260.67 133.8 260.84 138.99 C261.1 147.11 261.33 155.23 261.53 163.34 C261.83 175.27 262.35 187.18 262.94 199.09 C263.68 214.47 264.13 229.81 263.82 245.2 C261.17 246.09 259.19 246.43 256.44 246.65 C255.55 246.73 254.67 246.8 253.75 246.87 C252.8 246.95 251.84 247.03 250.85 247.11 C249.85 247.19 248.85 247.27 247.82 247.36 C244.61 247.62 241.41 247.88 238.2 248.14 C220.73 249.55 220.73 249.55 203.3 251.45 C194.21 252.56 185.08 253.29 175.96 254.06 C172.8 254.33 169.65 254.6 166.49 254.88 C164.46 255.05 162.42 255.23 160.39 255.4 C159.46 255.48 158.53 255.56 157.57 255.64 C151.97 256.11 146.45 256.28 140.82 256.2 C138.68 243.45 137 230.7 135.64 217.85 C135.32 214.89 134.98 211.93 134.64 208.97 C132.79 192.63 132.79 192.63 132.36 184.48 C132.15 175.49 132.15 175.49 128.49 167.56 C125.04 164.52 121.18 162.74 116.94 161.07 C114.82 160.2 112.83 159.21 110.8 158.12 C80.32 141.85 47 136.87 12.76 136.77 C11.92 136.76 11.07 136.75 10.2 136.75 C-17.89 136.61 -48.49 141.47 -71.18 159.2 C-72.06 159.8 -72.95 160.4 -73.86 161.02 C-84.5 171.07 -90.16 185.2 -90.57 199.64 C-90.58 201.63 -90.59 203.62 -90.57 205.62 C-90.55 207.63 -90.57 209.65 -90.59 211.67 C-90.53 230.13 -84.96 246.98 -72.01 260.46 C-50.22 280.75 -16.06 289.26 11.82 297.2 C12.92 297.52 12.92 297.52 14.05 297.85 C22.12 300.2 30.25 302.11 38.49 303.8 C39.2 303.94 39.91 304.09 40.64 304.24 C41.37 304.39 42.11 304.54 42.86 304.69 C44.41 305.01 45.96 305.32 47.51 305.64 C48.29 305.8 49.07 305.96 49.88 306.12 C72.96 310.87 95.76 316.81 118.58 322.62 C122.56 323.63 126.54 324.63 130.53 325.61 C139.39 327.79 148.17 330.02 156.82 332.95 C157.82 333.29 158.82 333.63 159.85 333.98 C190.66 344.63 219.58 361 243.57 383.13 C245.59 384.99 247.66 386.75 249.76 388.52 C281.28 416.23 294.78 458.59 298.82 499.2 C298.92 500.14 299.01 501.08 299.11 502.05 C299.92 511.11 300.01 520.14 300.01 529.23 C300.01 531.8 300.03 534.38 300.05 536.95 C300.13 561.32 297.52 587 289.82 610.2 C289.4 611.58 288.98 612.96 288.55 614.34 C280.43 640.37 267.58 664.96 248.89 684.98 C247.03 686.98 245.27 689.04 243.51 691.14 C217.39 720.99 179.38 739.53 142.6 752.24 C140.33 753.03 138.08 753.84 135.84 754.67 C118.41 760.94 99.88 764.04 81.64 766.95 C80.42 767.15 79.2 767.35 77.94 767.55 C56.34 770.86 34.74 771.53 12.93 771.46 C9.31 771.45 5.7 771.46 2.08 771.47 C-20.96 771.53 -43.98 770.84 -66.82 767.54 C-69.76 767.12 -72.71 766.73 -75.66 766.33 C-88.7 764.55 -101.63 762.58 -114.49 759.78 C-117.51 759.13 -120.54 758.5 -123.56 757.86 C-172.26 747.51 -227.93 730.44 -264.18 694.2 C-264.01 682.71 -262.42 671.27 -260.93 659.89 C-260.52 656.79 -260.12 653.69 -259.72 650.59 C-259.61 649.72 -259.5 648.85 -259.38 647.95 C-258.25 638.97 -257.22 629.98 -256.18 620.98 C-253.53 597.94 -250.67 574.93 -247.73 551.92 C-247.1 546.96 -246.47 541.99 -245.84 537.03 C-244.62 527.42 -243.4 517.81 -242.18 508.2 C-234.65 508.05 -227.3 508.65 -219.81 509.38 C-217.83 509.56 -215.85 509.75 -213.87 509.94 C-211.06 510.2 -208.26 510.48 -205.45 510.75 C-201.85 511.09 -198.24 511.44 -194.64 511.78 C-190.29 512.19 -185.94 512.61 -181.59 513.02 C-172.94 513.85 -164.29 514.66 -155.63 515.46 C-154.13 515.6 -154.13 515.6 -152.59 515.74 C-148.87 516.08 -145.15 516.42 -141.43 516.76 C-138.96 516.99 -136.49 517.21 -134.02 517.44 C-133.31 517.5 -132.61 517.57 -131.89 517.63 C-127.62 518.03 -123.43 518.59 -119.18 519.2 C-119.18 549.56 -119.18 579.92 -119.18 611.2 C-117.2 611.86 -115.22 612.52 -113.18 613.2 C-111.62 613.9 -110.08 614.62 -108.56 615.38 C-107.71 615.79 -106.87 616.2 -106 616.63 C-105.11 617.07 -104.22 617.5 -103.3 617.95 C-94.41 622.24 -85.56 626.13 -76.18 629.2 C-75.2 629.53 -75.2 629.53 -74.21 629.87 C-36.36 642.38 7.85 640.3 46.82 635.2 C47.85 635.07 48.89 634.95 49.95 634.81 C72.64 631.87 101.76 625.8 117.18 607.39 C133.19 585.5 135.64 558.23 132.42 531.87 C128.75 509.68 119.41 489.96 101.11 476.15 C63.62 451.54 13.28 441.78 -30.3 434.25 C-57.97 429.42 -85.35 422.51 -112.18 414.2 C-113.12 413.91 -113.12 413.91 -114.08 413.61 C-152.43 401.72 -184.97 385.07 -214.18 357.2 C-214.84 356.59 -215.51 355.98 -216.19 355.35 C-233.23 339.23 -244.14 316.55 -250.18 294.2 C-250.38 293.45 -250.59 292.69 -250.8 291.91 C-251.49 289.33 -252.15 286.73 -252.8 284.14 C-253.01 283.36 -253.21 282.57 -253.43 281.77 C-257.5 264.99 -257.52 247.53 -257.49 230.37 C-257.49 226.97 -257.51 223.57 -257.54 220.18 C-257.69 166.04 -242.45 114.53 -204.18 75.2 C-162.48 33.33 -97.49 11.38 -40.18 3.2 C-39.49 3.1 -38.8 3 -38.09 2.9 C-25.41 1.06 -12.81 0.05 0 0 Z " fill="#FEFEFE" transform="translate(707.17578125,357.796875)"/>
</svg>

After

Width:  |  Height:  |  Size: 5.2 KiB

View File

@ -0,0 +1,15 @@
[variables]
main_domain = "${domain}"
secret = "${password:30}"
redis_password = "${password:30}"
[[config.domains]]
serviceName = "onetimesecret"
port = 3000
host = "${main_domain}"
[config.env]
COLONEL="admin@example.com"
HOST="${main_domain}"
REDIS_PASSWORD = "${redis_password}"
SECRET="${secret}"

View 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 359 B

View 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}"

909
meta.json

File diff suppressed because it is too large Load Diff