Commit Graph

252 Commits

Author SHA1 Message Date
Andrew Kingston c004290718 Increase envoy timeout for API routes to 120s rather than 15s, to match Koa and allw longer connections for downloads 2021-10-18 12:06:09 +01:00
Fabian Kästner ccdc5e7047 Add default value for minio-service URL 2021-10-18 13:02:28 +02:00
Fabian Kästner 5da6a278b6 Make multitenancy configurable in values.yaml, set selfHosted by default. 2021-10-18 12:56:58 +02:00
Rory Powell 83b6713755 Merge pull request #3009 from Budibase/remove-account-url
Remove account url from docker images
2021-10-14 17:33:35 +01:00
Martin McKeaveney e586b47c95 separate sentry projects to avoid noise 2021-10-14 16:22:53 +01:00
Rory Powell 0d20ead4b3 Remove account url from docker images 2021-10-14 15:55:23 +01:00
Martin McKeaveney fcd8ba18df removing quotas that are no longer needed 2021-10-12 22:04:29 +01:00
Martin McKeaveney ca0457dcb4 updated K8S templates with new kit 2021-10-12 21:58:10 +01:00
Rory Powell 7936015cb3 Updates to suport non cloud single and multi tenancy 2021-10-06 14:09:43 +01:00
Rory Powell 2f589a2f42 Add API keys between account portal and budibase 2021-10-04 13:40:50 +01:00
Martin McKeaveney 81e63373c4 update envoy config for k8s 2021-10-01 12:51:33 +01:00
Martin McKeaveney 6d247a3ecb Merge pull request #2782 from panos--/fix/ingress-nginx-repo-url
fix ingress-nginx repo url
2021-09-29 09:49:15 +01:00
Rory Powell 0518bac62e Set cookie domain to fix logout 2021-09-28 16:35:31 +01:00
Andrew Kingston a6e48194f1 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-09-20 10:33:18 +01:00
Thomas Weiß 52db113a51 fix ingress-nginx repo url 2021-09-20 09:37:14 +02:00
Maurits Lourens 518f8fd55e merge develop into branch 2021-09-16 22:15:09 +02:00
Martin McKeaveney b324a26ff5 updating envoy config for kubernetes 2021-09-16 15:35:26 +01:00
Martin McKeaveney b8d10a2b6d merge package updates 2021-08-26 14:13:30 +01:00
Martin McKeaveney a22f4759a7 a more robust docker release process that only tags latest in prod 2021-08-24 17:16:45 +01:00
Martin McKeaveney 4cb057d6ab automate release tag in helm charts, remove superfluous build scripts 2021-08-24 16:58:10 +01:00
Martin McKeaveney b841b41e29 update watchtower port to 6161 2021-08-23 21:48:03 +01:00
Martin McKeaveney 0fb566a3dd allow users to override watchtower port 2021-08-20 09:47:08 +01:00
Martin McKeaveney 27d9aded23 Update README.md 2021-08-19 07:57:30 +01:00
Martin McKeaveney 5843fa0286 test K8S CI 2021-08-18 18:09:40 +01:00
Martin McKeaveney 23e82b9636 remove secret identifier 2021-08-18 11:43:07 +01:00
Martin McKeaveney c1957208a2 add secrets identifier 2021-08-18 11:42:04 +01:00
Martin McKeaveney 26421581eb allow couchDB to be turned off 2021-08-18 10:47:39 +01:00
Martin McKeaveney d355219d7f revert to master images 2021-08-17 22:13:32 +01:00
Martin McKeaveney a81079cafa remove direct config for ingress nginx controller 2021-08-17 22:08:00 +01:00
Martin McKeaveney f992be2b2f remove custom domain by default 2021-08-17 18:03:23 +01:00
Martin McKeaveney 8a90d47e6b adding persistent volumes to couch 2021-08-17 17:40:25 +01:00
Martin McKeaveney 744f8efe8a updating domain values 2021-08-17 17:10:18 +01:00
Martin McKeaveney a4f43dbac1 pushing first budibase helm release 2021-08-17 14:42:12 +01:00
Martin McKeaveney 8168e06b5b remove schema defaults 2021-08-17 11:01:06 +01:00
Martin McKeaveney 1af740fbf7 Helm chart CI automation 2021-08-16 21:47:08 +01:00
Martin McKeaveney ce72624f0f tidy up 2021-08-16 19:00:52 +01:00
Martin McKeaveney 1b78d8349f totally generic templates complete, pending test in different clouds 2021-08-16 19:00:08 +01:00
Martin McKeaveney 0d6b0c887b named templates for local k8s DNS resolution 2021-08-16 15:15:07 +01:00
Martin McKeaveney a248084c56 budibase kubernetes support 2021-08-16 11:42:21 +01:00
mike12345567 a8eb067de3 Merge branch 'fix/apps-2195-2282-2283' of github.com:Budibase/budibase into develop 2021-08-06 17:14:31 +01:00
Martin McKeaveney 4bfccadc77 scarf support 2021-08-06 14:59:39 +01:00
mike12345567 46ea3f3e9e Revert "Merge pull request #2253 from Budibase/revert-2076-feature/multi-tenants"
This reverts commit 4834b765be, reversing
changes made to 2456e69483.
2021-08-05 09:59:08 +01:00
Michael Drury b86a6fddc9 Revert "Multi-tenancy/organisations" 2021-08-04 10:02:24 +01:00
mike12345567 f6d0db4c4b Updating API endpoints, to include the new system one, updating hosting envoy yaml to cover these. 2021-08-02 12:09:03 +01:00
mike12345567 27b2a13817 Swapping admin -> global in worker to reduce confusion in API url naming. 2021-07-22 12:56:47 +01:00
Kyle Harrison 2d451bb3a9 apply fixes for common spelling mistakes 2021-07-09 17:54:49 +01:00
Martin McKeaveney 7617e07649 make app service wait on redis-service so we don't get redis connection errors 2021-06-22 09:46:33 +01:00
Martin McKeaveney 31f086a802 simplify tags 2021-06-21 17:13:16 +01:00
Martin McKeaveney db24af4a55 Merge branch 'develop' of github.com:Budibase/budibase into develop 2021-06-21 16:45:01 +01:00
Martin McKeaveney 8844275357 consolidate build 2021-06-21 16:44:54 +01:00
Martin McKeaveney 1f65427e90 Merge pull request #1732 from Budibase/feature/opinionated-sql
Feature/opinionated sql
2021-06-21 16:28:29 +01:00
Martin McKeaveney 9deeef2d9e add develop tag and update docker push script 2021-06-21 16:25:12 +01:00
Martin McKeaveney 597149228e Merge branch 'master' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-21 11:14:27 +01:00
Martin McKeaveney 3df9de2a63 use internal port for watchtower to fix updating through budibase UI 2021-06-20 17:36:28 +01:00
Martin McKeaveney a44d59541d merge 2021-06-10 14:15:03 +01:00
mike12345567 5086a4d0c9 Super quick fix for attachments, keeping in correct object store directory. 2021-06-09 17:38:24 +01:00
mike12345567 ae0dbacb31 Merge branch 'master' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-09 11:03:01 +01:00
mike12345567 8a10d2e5b5 Merge branch 'master' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-08 12:27:37 +01:00
Martin McKeaveney 7f934327b7 making new screen modal choose the currently filtered role 2021-06-08 11:42:39 +01:00
mike12345567 4e97eea3c0 Fixing staging build so it only occurs on develop, master doesn't need it. 2021-06-07 18:04:16 +01:00
mike12345567 3ccf7f9989 Adding a way to test app URLs in dev. 2021-06-03 19:37:39 +01:00
Martin McKeaveney e927f44c12 removing superfluous controllers 2021-06-01 20:22:56 +01:00
Martin McKeaveney aacaca3d4e update functionality complete 2021-06-01 20:17:06 +01:00
Martin McKeaveney 0c90f9ffc5 adding watchtower to docker config 2021-05-28 10:09:32 +01:00
mike12345567 0a4c4f1cc0 Adding some changes for to redis library, allowing reconnection. 2021-05-24 14:54:47 +01:00
mike12345567 06353409bc Making sure the email sends out the write port if no platform URL is set. 2021-05-21 14:38:46 +01:00
Martin McKeaveney 7a73a39d33 fixes for production envoy config 2021-05-20 21:06:08 +01:00
Martin McKeaveney 3a422be071 simplify docker build before push 2021-05-20 13:54:18 +01:00
Martin McKeaveney f6f32b98ba testing CI pipeline 2021-05-20 12:46:31 +01:00
Martin McKeaveney bb560f7e22 Merge branch 'fix/onboarding' of https://github.com/Budibase/budibase into fix/onboarding 2021-05-20 12:38:18 +01:00
Martin McKeaveney bb9d209a36 pipeline work 2021-05-20 12:38:12 +01:00
mike12345567 148cf87224 Cleanup after testing/looking through hosting files. 2021-05-20 12:21:58 +01:00
mike12345567 8e1f18e456 Changing INTERNAL_KEY to INTERNAL_API_KEY. 2021-05-11 15:23:03 +01:00
mike12345567 0aabcf5a47 Merge branch 'smtp-configuration' of github.com:Budibase/budibase into smtp-configuration 2021-05-11 15:09:22 +01:00
mike12345567 92cc0bc7cd Updating to support SMTP email automation action, as well as some general work around from and subject which previously we'ren't fully implemented. 2021-05-11 15:08:59 +01:00
mike12345567 502ae91aae Formatting. 2021-05-10 13:19:09 +01:00
mike12345567 77b4b206f7 Other minor fixes after doing some initial setup testing. 2021-05-10 13:18:05 +01:00
mike12345567 4e3bc326b4 Updating with a tested and functional API for uploading files for configs. 2021-05-07 13:55:30 +01:00
Andrew Kingston be04060ff1 Server builder under /builder rather than /app for top level to avoid confusion 2021-05-07 08:17:21 +01:00
Andrew Kingston f6f2e3f63a Merge branch 'app-list' of github.com:Budibase/budibase into app-list 2021-05-06 17:21:06 +01:00
Andrew Kingston 17ac2a402f Make envoy proxy app with and without trailing slash 2021-05-06 17:20:11 +01:00
mike12345567 b3b1f00b22 Re-ordering dev envoy file. 2021-05-06 17:03:34 +01:00
mike12345567 c032022fa8 Updating envoy configuration to allow pass through to minio again. 2021-05-06 16:38:18 +01:00
mike12345567 82687bad26 Merge branch 'next' of github.com:Budibase/budibase into feature/password-reset 2021-05-05 18:00:22 +01:00
Keviin Åberg Kultalahti df30e594df allow navigation to other URLs than /builder 2021-05-05 11:22:39 +02:00
mike12345567 1cf778845a Fixing issues with Redis/Bull and the integration with new redis module. 2021-05-04 18:13:44 +01:00
mike12345567 08c158c121 Adding a redis client to the auth system, as part of work towards the reset password flow. 2021-04-27 17:29:05 +01:00
Martin McKeaveney 468b9b97f9 builder login 2021-04-12 10:47:48 +01:00
Martin McKeaveney 98576f586e login page 2021-04-11 11:35:55 +01:00
mike12345567 15900efc35 Some changes after trying system for first time. 2021-04-08 17:39:46 +01:00
mike12345567 8cde219db9 First pass of global user configuration through existing user API with role mappings. 2021-04-08 16:58:33 +01:00
Martin McKeaveney 6aa7a38442 flip auth boolean 2021-04-08 11:21:52 +01:00
mike12345567 d0e5967851 Merge branch 'next' of github.com:Budibase/budibase into feature/global-user-management 2021-04-08 11:12:24 +01:00
mike12345567 16b5b19027 Updating to make sure the envoy generated dev file is very obviously not to be edited. 2021-04-07 17:52:22 +01:00
Martin McKeaveney 57b3a28708 Merge branch 'dev-experience' of https://github.com/Budibase/budibase into feature/global-user-management 2021-04-07 17:17:00 +01:00
mike12345567 6c790206a8 Attempting to use HBS to re-create the envoy file as needed in dev. 2021-04-07 17:13:19 +01:00
mike12345567 b737aa673d Merge branch 'dev-experience' of github.com:Budibase/budibase into feature/global-user-management 2021-04-07 15:22:22 +01:00
Andrew Kingston 4748ceb118 Update env variable in docker-compose yaml to avoid ambiguous 'true' value 2021-04-07 09:04:17 +01:00
mike12345567 eb4a1270c8 Changing route ordering in envoy dev. 2021-04-01 16:56:17 +01:00
mike12345567 b52f0b5dc9 Re-writing prefix for going to /builder without end slash. 2021-04-01 16:54:36 +01:00
mike12345567 8eb6a23b06 Fixing invalid spacing in envoy yaml. 2021-04-01 16:51:49 +01:00
mike12345567 1a2743593c Updating envoy to pass over app preview URLs and allowing builder access on no slash. 2021-04-01 16:48:16 +01:00
mike12345567 1c44808336 Adding a nuke stack option at top of repo and then setting up proxy for dev experience through envoy. 2021-04-01 12:02:31 +01:00
mike12345567 3f21a6ba6f Starting worker instance as part of the stack, some changes to how environment handled for worker. 2021-03-29 15:00:40 +01:00
mike12345567 4b0348add4 Removing unnecessary files and updating prod compose file. 2021-03-26 14:26:07 +00:00
mike12345567 c51cf423e3 Creating CouchDB 3.0 indexes. 2021-03-25 19:12:17 +00:00
mike12345567 24c523faad Initialising CouchDB link to lucene and app design DBs for it. 2021-03-25 18:04:44 +00:00
Martin McKeaveney 4d141d8ba8 merge 2021-03-24 20:44:52 +00:00
mike12345567 d66af9f151 Getting rid of the CLOUD environment variable, this makes no sense anymore, now there is isDev() and isProd() which will work out the current state of the cluster. 2021-03-24 18:21:23 +00:00
mike12345567 9c0a4ab4fb Some changes after testing, needed to update object store client creation. 2021-03-24 12:54:59 +00:00
mike12345567 00344b3b39 Some changes to how environment is loaded to make the init process by default flesh out some good settings. 2021-03-23 15:37:11 +00:00
Martin McKeaveney 67c2a16b05 adding redis stack to dev 2021-03-23 11:05:02 +00:00
Martin McKeaveney 81452c3a7f better wording and tidy up of init script 2021-03-22 19:35:29 +00:00
Martin McKeaveney 306d29d870 redis, tidy ups 2021-03-22 16:18:29 +00:00
Martin McKeaveney 6742c3ca99 basic single stack dev setup 2021-03-22 15:43:26 +00:00
Martin McKeaveney bed26d9b1b Update docker-compose.yaml 2021-02-09 09:28:37 +00:00
Michael Drury 4a8bc72888 Merge pull request #1049 from Budibase/feature/selfhosting-info
Quick update to self hosting to make next steps clear
2021-02-01 13:24:50 +00:00
Martin McKeaveney ff490ef843 Merge branch 'master' of github.com:Budibase/budibase into qol-updates 2021-01-29 15:46:50 +00:00
Martin McKeaveney c8b8ddb67f add support for staging image that gets built on master push 2021-01-29 10:41:08 +00:00
mike12345567 13fe937e67 This commit includes some fixes for a few auth issues I found when I was working on this and a static page which shows the self hosting info to get the user going (if they end up there). 2021-01-28 18:30:59 +00:00
mike12345567 34eceb18bf Removing the optional ports which have no purpose other than causing issues. 2021-01-28 17:46:09 +00:00
Martin McKeaveney fed8575daa update script 2021-01-27 13:56:38 +00:00
Martin McKeaveney 9f8c9fa810 import and export apps 2021-01-27 13:55:46 +00:00
Martin McKeaveney f00ddf3dd9 Update bootstrap.sh 2021-01-25 10:26:20 +00:00
Martin McKeaveney e70b9946dd start command in bootstrap script 2021-01-25 09:49:07 +00:00
Martin McKeaveney 1239246d84 easier bootstrap script 2021-01-24 14:02:36 +00:00
mike12345567 16a25a7cff When self hosting it is now possible to use a pretty URL to access the app rather than the normal appId. 2021-01-14 17:01:31 +00:00
mike12345567 6520979925 Quick change, disabling MINIO browser as its a security risk and isn't useful. 2021-01-13 12:55:45 +00:00
mike12345567 210897b909 This simply removes the self hosting logo URL feature as it doesn't really make sense, screen/layout templates are held in the builder codebase and therefore controlling the logo from the server isn't really possible. 2021-01-11 18:09:43 +00:00
mike12345567 3ec01a6fe5 Adding docker image release to release GH action. 2021-01-11 11:24:53 +00:00
mike12345567 ae5d970a92 Missing route prop. 2021-01-08 12:10:21 +00:00
mike12345567 711e44a3b8 Updating envoy to handle API request, proxy to app-service, doesn't have to come from /app/api. 2021-01-08 11:59:42 +00:00
mike12345567 b4a3f2282c Changing scripts directory around a bit for hosting, make it clear shell scripts are for unix/linux. 2021-01-08 10:53:20 +00:00
mike12345567 84af693172 Removing envoy admin feature (pointless, can add if needed, adds security risk). 2021-01-08 10:46:40 +00:00
mike12345567 c82d2b209b Removing swap file. 2021-01-08 10:36:41 +00:00
mike12345567 85320ea938 Some minor updates, making template object store URL in self hosting relative so everything just goes through the proxy, and fixing issue with API key being required to create apps in self hosting. 2021-01-07 15:37:41 +00:00
mike12345567 405ca07efe Adding a build method which can push docker images if you are logged in to docker CLI and making the main docker compose file use the pushed images instead. 2021-01-07 11:38:37 +00:00
mike12345567 c706a623de Removing --build option from docker-compose up. 2021-01-06 17:24:18 +00:00
mike12345567 882cfa700b Updating worker to support using a self host key, a basic level of security, stopping builder from asking for API key if currently configured for self hosting, made the default values for self hosting make sense for a basic local installation, this should be final. 2021-01-06 16:58:29 +00:00
mike12345567 40a6348e7c Version working with reverse proxy, need to just change settings menu in builder now to use this properly. 2021-01-05 18:47:51 +00:00
mike12345567 ead0d6756e Initial state of swapping to envoy from nginx, this isn't fully functional, still need to make the builder use it and need to get URL re-writing working. 2021-01-05 16:04:12 +00:00
mike12345567 5444af9400 Quick fixes. 2020-12-18 16:48:14 +00:00
mike12345567 31bc45985f Update after testing, it is now possible to make a deployment to a self hosted environment. Some work still required, better authentication around MINIO deployment, currently the bucket is set to public read and there is no signing/verification to the upload process, also right now four different URLs are needed for the builder to connect correctly, ideally this shouldn't be the case. 2020-12-18 12:54:20 +00:00
Michael Drury 84a16e2dfb Renaming deployment service to worker service for its expansion plans. 2020-12-17 12:39:55 +00:00
mike12345567 4e13565d1f Adding a deployment service which takes over from the lambdas in local operation, this may become part of the hosting portal if we ever decide to opensource that part of it. 2020-12-16 19:50:02 +00:00
mike12345567 19bcc36fc0 Another quick fix to copy right conf over. 2020-12-16 16:06:18 +00:00
mike12345567 47e483c20d Removing broken command statement. 2020-12-16 16:04:29 +00:00
mike12345567 ca3886af4a Some minor changes to get nginx up and running in front of minio correctly. 2020-12-16 16:02:36 +00:00
mike12345567 f5a9c68c69 WIP - starting to work on deployment and hosting so that they don't use static URLs anymore to reach assets, instead using environment variables to determine what to use. 2020-12-14 18:31:48 +00:00
mike12345567 2546346f36 Adding the ability to change default logo URL for new apps in self hosting. 2020-12-14 15:56:33 +00:00