An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
feat: Added Budibase template
Matt12c9691bb4cc
diff --git a/public/svgs/budibase.svg b/public/svgs/budibase.svgnew file mode 100644index 0000000000..c77636bfe4--- /dev/null+++ b/public/svgs/budibase.svg@@ -0,0 +1,21 @@+<svg width="1200" height="265" viewBox="0 0 1200 265" fill="none" xmlns="http://www.w3.org/2000/svg">+<g clip-path="url(#clip0_1_17)">+<path d="M456.1 140.1C451.8 135.6 446.3 132.2 439.5 130C459.2 121.8 463.3 97.1 452.7 80.7C443.4 67.5 427.4 64.2 410.3 64C395 64 370.2 64 355.1 64V204C361.1 204 375.9 204 381.7 204C397.9 203.6 428.5 206 442.5 199.5C466.7 191.5 473.4 158 456.1 140.1ZM408.1 86.8C414.8 86.8 420.2 88 424.4 90.4C434.4 96.1 432.6 117.1 419.9 119.5C412.7 122.1 389.7 120.7 381.7 121V86.8H408.1ZM431.7 176.7C427.3 179.7 421.4 181.2 413.9 181.2H381.7V142.4H413.9C421.4 142.4 427.3 143.9 431.7 146.8C440.5 151.7 440.5 171.6 431.7 176.7Z" fill="black"/>+<path d="M527.6 206.3C502.3 207 481.5 188.6 482.4 162.5V101.1H507.6V161C507.3 175 514.6 183.8 527.6 184C540.6 183.8 547.8 175 547.6 161V101.2H572.6V162.6C573.5 188.5 552.7 207 527.6 206.3Z" fill="black"/>+<path d="M666.6 69.3V116.3C656.2 97.1 628.2 93.7 610.7 105.7C595.5 115.9 588.1 133.5 588.2 152.5C588.1 171.3 595.6 189.2 610.7 199.3C628.1 211.4 656.1 207.9 666.6 188.8V204H691.6V63L666.6 69.3ZM659.7 175.8C650.5 186.7 630.5 186.7 621.3 175.8C611.4 165.9 611.4 139.3 621.3 129.4C630.5 118.5 650.5 118.5 659.7 129.4C669.5 139.2 669.5 165.9 659.7 175.8Z" fill="black"/>+<path d="M730.9 88.8C709 89.3 709.1 58 730.9 58.4C752.4 58.3 752.5 89 730.9 88.8ZM743.1 101.2V204H718.1V101.2H743.1Z" fill="black"/>+<path d="M867 124.9C854.6 96.2 811.3 88 794.6 116.4V63L769.6 69.3V204H794.6V188.9C805 208 833.3 211.5 850.6 199.4C873.6 184.5 878.7 148.4 867 124.9ZM840 175.8C830.8 186.7 810.8 186.7 801.6 175.8C791.7 165.9 791.7 139.3 801.6 129.4C810.8 118.5 830.8 118.5 840 129.4C849.9 139.2 849.9 165.9 840 175.8Z" fill="black"/>+<path d="M973.4 116.4C954.1 90.2 902.3 92.8 890.1 125.1L911.2 134C917.7 118.9 943.3 115.9 952.1 130C955.5 134.8 954.8 145.2 954.8 151.4C935.4 133 885 141.8 886 174.3C884.7 208.5 938.3 216.1 956.4 194V203.9H979.8V139.3C979.8 130 977.6 122.4 973.4 116.4ZM949.2 184.3C941.7 189.3 925.4 189.2 917.9 184.4C909.8 180.1 909.8 167.9 917.9 163.6C928.4 157.6 954.7 157.6 955.2 174C955.2 178.4 953.2 181.8 949.2 184.3Z" fill="black"/>+<path d="M1043.7 206.3C1022.2 206.7 1001.5 194.6 996.9 172.3L1017.1 165.7C1019.8 179.2 1030.7 185.9 1043.7 185.9C1052.2 185.7 1062.1 184.1 1062.9 175.7C1062.2 166.9 1053.4 166.5 1044.3 163.5C1032.2 161.1 1014.7 155.9 1008.5 149C996.7 138.1 998 116.4 1011.7 107.1C1034.3 90.3 1082.5 98.3 1085.7 131.9L1064.9 137.3C1062.8 124.5 1053.5 119.2 1041.5 119.1C1033.7 119.2 1024.9 121.1 1024.3 128.9C1025.3 138.1 1036.6 138.2 1044.3 140.9C1056 143.2 1072.3 147.9 1078.8 155.1C1088.6 164 1089.5 180.8 1081.5 191.1C1072.9 202.3 1058.6 206.3 1043.7 206.3Z" fill="black"/>+<path d="M1193.8 124.2C1182.3 99.2 1148.3 91.9 1125.7 105.5C1109.3 115.3 1101.5 132.8 1101.6 152.6C1101.5 172.3 1109.6 190.1 1126.2 199.7C1150.3 213.7 1187 205.7 1198 177.9L1176.5 170.2C1170 184.2 1151.7 188.7 1138.8 181.4C1131.3 176.8 1127.8 167.6 1127 158.2H1199.7C1200.7 146.3 1198.7 133.5 1193.8 124.2ZM1151.6 119C1164.3 119 1172.5 128.2 1174.5 140.8H1127.8C1130 127.9 1138 118.9 1151.6 119Z" fill="black"/>+<path d="M158.2 8.6V116.6C158.2 121.3 162 125.2 166.8 125.2H213.8C218 125.2 222 123.2 224.6 119.8L262.9 68.9C265.7 65.2 265.7 60.1 262.9 56.4L224.6 5.4C222 2 218 0 213.8 0H166.8C162 0 158.2 3.8 158.2 8.6Z" fill="#FF4E4E"/>+<path d="M158.2 148.4V256.4C158.2 261.1 162 265 166.8 265H213.8C218 265 222 263 224.6 259.6L262.9 208.7C265.7 205 265.7 199.9 262.9 196.2L224.6 145.3C222.1 141.9 218.1 139.9 213.8 139.9H166.8C162 139.8 158.2 143.7 158.2 148.4Z" fill="#6E56FF"/>+<path d="M0 8.6V116.6C0 121.3 3.8 125.2 8.6 125.2H109.6C113.8 125.2 117.8 123.2 120.4 119.8L155.9 72.5C160.3 66.6 160.3 58.5 155.9 52.6L120.3 5.4C117.8 2 113.8 0 109.5 0H8.6C3.8 0 0 3.8 0 8.6Z" fill="#F97777"/>+<path d="M0 148.4V256.4C0 261.1 3.8 265 8.6 265H109.6C113.8 265 117.8 263 120.4 259.6L155.9 212.3C160.3 206.4 160.3 198.3 155.9 192.4L120.4 145.1C117.9 141.7 113.9 139.7 109.6 139.7H8.6C3.8 139.8 0 143.7 0 148.4Z" fill="#9F8FFF"/>+</g>+<defs>+<clipPath id="clip0_1_17">+<rect width="1200" height="265" fill="white"/>+</clipPath>+</defs>+</svg>diff --git a/templates/compose/budibase.yaml b/templates/compose/budibase.yamlnew file mode 100644index 0000000000..c08cdedd76--- /dev/null+++ b/templates/compose/budibase.yaml@@ -0,0 +1,163 @@+# documentation: https://docs.budibase.com/+# slogan: Low code platform for building business apps and workflows in minutes. Supports PostgreSQL, MySQL, MSSQL, MongoDB, Rest API, Docker, K8s, and more.+# tags: budibase,low-code,business-apps,workflow,automation,postgresql,mysql,mssql,mongodb,docker,kubernetes+# logo: svgs/budibase.svg+# port: 10000++services:+ app-service:+ restart: unless-stopped+ image: budibase.docker.scarf.sh/budibase/apps+ environment:+ - SELF_HOSTED=1+ - COUCH_DB_URL=http://$SERVICE_USER_BUDIBASE_COUCHDB:$SERVICE_PASSWORD_BUDIBASE_COUCHDB@couchdb-service:5984+ - WORKER_URL=http://worker-service:4003+ - MINIO_URL=http://minio-service:9000+ - MINIO_ACCESS_KEY=$SERVICE_USER_BUDIBASE_MINIO+ - MINIO_SECRET_KEY=$SERVICE_PASSWORD_BUDIBASE_MINIO+ - INTERNAL_API_KEY=$SERVICE_BASE64_128_BUDIBASE+ - BUDIBASE_ENVIRONMENT=${BUDIBASE_ENVIRONMENT:-PRODUCTION}+ - PORT=4002+ - API_ENCRYPTION_KEY=$SERVICE_BASE64_64_BUDIBASE+ - JWT_SECRET=$SERVICE_BASE64_64_BUDIBASE+ - LOG_LEVEL=info+ - ENABLE_ANALYTICS=true+ - REDIS_URL=redis-service:6379+ - REDIS_PASSWORD=$SERVICE_PASSWORD_BUDIBASE_REDIS+ - BB_ADMIN_USER_EMAIL=+ - BB_ADMIN_USER_PASSWORD=+ depends_on:+ - worker-service+ - redis-service+ healthcheck:+ test: ["CMD", "curl", "-f", "http://app-service:4002"]+ interval: 15s+ timeout: 15s+ retries: 5+ start_period: 10s++ worker-service:+ restart: unless-stopped+ image: budibase.docker.scarf.sh/budibase/worker+ environment:+ - SELF_HOSTED=1+ - PORT=4003+ - CLUSTER_PORT=10000+ - API_ENCRYPTION_KEY=$SERVICE_BASE64_64_BUDIBASE+ - JWT_SECRET=$SERVICE_BASE64_64_BUDIBASE+ - MINIO_ACCESS_KEY=$SERVICE_USER_BUDIBASE_MINIO+ - MINIO_SECRET_KEY=$SERVICE_PASSWORD_BUDIBASE_MINIO+ - MINIO_URL=http://minio-service:9000+ - APPS_URL=http://app-service:4002+ - COUCH_DB_USERNAME=$SERVICE_USER_BUDIBASE_COUCHDB+ - COUCH_DB_PASSWORD=$SERVICE_PASSWORD_BUDIBASE_COUCHDB+ - COUCH_DB_URL=http://$SERVICE_USER_BUDIBASE_COUCHDB:$SERVICE_PASSWORD_BUDIBASE_COUCHDB@couchdb-service:5984+ - INTERNAL_API_KEY=$SERVICE_BASE64_128_BUDIBASE+ - REDIS_URL=redis-service:6379+ - REDIS_PASSWORD=$SERVICE_PASSWORD_BUDIBASE_REDIS+ depends_on:+ - redis-service+ - minio-service+ healthcheck:+ test: ["CMD", "curl", "-f", "http://worker-service:4003"]+ interval: 15s+ timeout: 15s+ retries: 5+ start_period: 10s++ minio-service:+ restart: unless-stopped+ image: minio/minio+ volumes:+ - minio_data:/data+ environment:+ - MINIO_ACCESS_KEY=$SERVICE_USER_BUDIBASE_MINIO+ - MINIO_SECRET_KEY=$SERVICE_PASSWORD_BUDIBASE_MINIO+ - MINIO_BROWSER=off+ command: server /data --console-address ":9001"+ healthcheck:+ test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]+ interval: 30s+ timeout: 20s+ retries: 3++ proxy-service:+ restart: unless-stopped+ image: budibase/proxy+ environment:+ - SERVICE_FQDN_BUDIBASE_10000+ - PROXY_RATE_LIMIT_WEBHOOKS_PER_SECOND=10+ - PROXY_RATE_LIMIT_API_PER_SECOND=20+ - APPS_UPSTREAM_URL=http://app-service:4002+ - WORKER_UPSTREAM_URL=http://worker-service:4003+ - MINIO_UPSTREAM_URL=http://minio-service:9000+ - COUCHDB_UPSTREAM_URL=http://couchdb-service:5984+ - WATCHTOWER_UPSTREAM_URL=http://watchtower-service:8080+ - RESOLVER=127.0.0.11+ depends_on:+ - minio-service+ - worker-service+ - app-service+ - couchdb-service+ healthcheck:+ test: ["CMD", "curl", "-f", "http://localhost:10000/"]+ interval: 15s+ timeout: 15s+ retries: 5+ start_period: 10s++ couchdb-service:+ restart: unless-stopped+ image: budibase/couchdb+ environment:+ - COUCHDB_PASSWORD=$SERVICE_PASSWORD_BUDIBASE_COUCHDB+ - COUCHDB_USER=$SERVICE_USER_BUDIBASE_COUCHDB+ - TARGETBUILD=docker-compose+ healthcheck:+ test: ["CMD", "curl", "-f", "http://localhost:5984/"]+ interval: 15s+ timeout: 15s+ retries: 5+ start_period: 10s+ volumes:+ - couchdb3_data:/opt/couchdb/data++ redis-service:+ restart: unless-stopped+ image: redis+ command: redis-server --requirepass "$SERVICE_PASSWORD_BUDIBASE_REDIS"+ volumes:+ - redis_data:/data+ healthcheck:+ test: ["CMD", "redis-cli", "-a", "$SERVICE_PASSWORD_BUDIBASE_REDIS", "ping"]+ interval: 15s+ timeout: 15s+ retries: 5+ start_period: 10s++ watchtower-service:+ restart: always+ image: containrrr/watchtower+ volumes:+ - /var/run/docker.sock:/var/run/docker.sock+ command: --debug --http-api-update bbapps bbworker bbproxy+ environment:+ - WATCHTOWER_HTTP_API=true+ - WATCHTOWER_HTTP_API_TOKEN=$SERVICE_PASSWORD_BUDIBASE_WATCHTOWER+ - WATCHTOWER_CLEANUP=true+ labels:+ - "com.centurylinklabs.watchtower.enable=false"+ healthcheck:+ test: ["CMD", "curl", "-f", "http://watchtower-service:8080"]+ interval: 15s+ timeout: 15s+ retries: 5+ start_period: 10s++volumes:+ couchdb3_data:+ driver: local+ minio_data:+ driver: local+ redis_data:+ driver: local\ No newline at end of file