Commit Graph

334 Commits

Author SHA1 Message Date
Rory Powell c0919ac01b
Merge pull request #7121 from Budibase/proxy-env-support-and-webhook-limiting
Add separate rate limiting config for webhooks + environment variable support
2022-08-10 09:00:20 +01:00
Rory Powell 73db927f8e Update posthog token 2022-08-08 14:03:04 +01:00
Rory Powell 5e6b7dfc06 Add seperate rate limiting config for webhooks + environment variable support 2022-08-05 17:41:55 +01:00
mike12345567 d8d2749733 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-07-22 19:14:35 +01:00
mike12345567 fc666fae64 Moving the single image healthcheck script to be within the single image directory and updating it to look for the environment variable file. 2022-07-19 14:39:52 +01:00
mike12345567 953d5a35eb Merge branch 'develop' of github.com:Budibase/budibase into labday/backups 2022-07-18 14:16:39 +01:00
mike12345567 ff12b4fbe9 Merge branch 'develop' of github.com:Budibase/budibase into labday/backups 2022-07-18 13:59:46 +01:00
Jonny McCullagh 7be65031dd WAzure App Service image to docker registry 2022-07-18 12:21:25 +01:00
mike12345567 79e623219d Removing the volume tags from the old directories, instead focusing on the single data directory that is now used - #6715. 2022-07-15 11:08:03 +01:00
Michael Drury ef1e70b281
Merge pull request #6636 from Budibase/omnibus-action
Single image pipeline
2022-07-11 11:12:09 +01:00
mike12345567 33e8600d62 Updating dockerfile to be friendly to volume usage, as well as pre-filling with uuids rather than static secrets. 2022-07-08 18:33:07 +01:00
mike12345567 187f1965e2 Moving files around to make single image build easier to follow, getting all data directories into one place for easy volume management. 2022-07-08 14:28:09 +01:00
mike12345567 0da424b5c6 Adding missing environment variable. 2022-07-06 16:33:40 +01:00
mike12345567 a9d927b713 Adding MinIO handling, backing up to disk by bucket name. 2022-06-30 20:26:49 +01:00
Andrew Kingston f1a42dfd07 Add env vars to hosting.properties and helm chart 2022-06-30 11:34:41 +01:00
Andrew Kingston e9c02c29a5 Add env vars to automatically create initial admin user on first run 2022-06-30 11:28:52 +01:00
Jonny McCullagh 79fc71c474 update the readme 2022-06-24 18:59:32 +01:00
Jonny McCullagh d0cb00d92f rename default nginx site config 2022-06-24 18:35:18 +01:00
Jonny McCullagh 57a1bc4070 add support for Azure App Service 2022-06-24 17:48:34 +01:00
Jonny McCullagh b60334cd3d restart nginx 2022-06-23 15:08:56 +01:00
Jonny McCullagh 6daa9a3a3b fixes for single image build 2022-06-23 15:03:09 +01:00
Jonny McCullagh 52c11768df new lines at end of files 2022-06-22 14:38:45 +01:00
Jonny McCullagh c33cb99c06 add cron to renew cert 2022-06-22 13:57:46 +01:00
Jonny McCullagh a0f6846afc add letsencrypt to single docker image 2022-06-22 13:38:33 +01:00
mike12345567 cd318f8a82 Review comments. 2022-06-22 12:40:33 +01:00
mike12345567 5020bf5f0f Adding command for multiarch building with buildx, need to install qemu on Linux to make this work. 2022-06-21 19:52:44 +01:00
mike12345567 358d15a8ad Fixing cleanup script, adding ARM support to dockerfile, as well as adding ARM client. 2022-06-21 17:56:55 +01:00
mike12345567 3cefc016c5 Slimming build down from 4GB to 1.8GB for single image. 2022-06-16 20:38:24 +01:00
mike12345567 a3607842ef Updating the single image docker build to pin versions before build to allow it to work with develop etc. Also optimising the image a bit so that it can be built significantly faster. 2022-06-16 19:30:34 +01:00
Rory Powell b1b852b72c Merge branch 'release' into feature/event-backfill 2022-06-09 15:21:49 +01:00
Peter Clement 5b0f1d1212 update csp to account for certain s3 addresses 2022-06-07 11:03:33 +01:00
Rory Powell d5a945ed67 Update lockfiles 2022-06-06 16:33:10 +01:00
Rory Powell bf9c6cbc42 Add awareness of deployment environment 2022-06-01 14:10:00 +01:00
Kacper 663d2e75b1 Content Security Policy fix for S3 upload
CSP allows wildcard only at first element of FQDN, so policy `*.s3.*.amazonaws.com` is invalid cause it contains second wildcard in the middle of FQDN.

nginx.prod.conf.hbs is not parsed by real handlebarsJS but manual way with regex and replacements. It's impossible to use `{{#each}}` so I've hardcoded all regions available for S3 basing on documentation under: https://docs.aws.amazon.com/general/latest/gr/s3.html
2022-05-05 22:26:57 +02:00
Martin McKeaveney c0cdeaf948 updating helm chart for storage classes 2022-04-27 12:42:57 +01:00
Rory Powell 2d810ece2b Replace spectrum with custom CSS 2022-04-25 16:39:44 +01:00
Rory Powell 3d8a8dbdd6 Merge branch 'develop' into labday/nginx-error-page 2022-04-25 16:30:24 +01:00
Andrew Kingston 250bdd2d87
Merge pull request #5208 from Budibase/portainer-template
Add portainer template
2022-04-05 14:19:47 +01:00
Michael Drury 959763d934
Merge pull request #5209 from Budibase/labday/single-docker
Single docker file lab-day
2022-04-05 12:16:09 +01:00
mike12345567 441e988ea8 Review comments. 2022-04-05 11:33:55 +01:00
mike12345567 5c3e3419b4 Merge branch 'develop' of github.com:Budibase/budibase into labday/single-docker 2022-04-05 11:31:02 +01:00
Martin McKeaveney 21a4d0b03c fix CSP variables 2022-04-04 15:22:31 +01:00
mike12345567 67beee7d93 Fixing test case. 2022-04-01 13:47:38 +01:00
Andrew Kingston 549eda4912 Add portainer template 2022-04-01 12:52:55 +01:00
mike12345567 12be8ed357 Adding volumes. 2022-04-01 12:50:26 +01:00
mike12345567 56147b1a6e Minor changes to get BB client and manifest included correctly. 2022-04-01 12:37:01 +01:00
mike12345567 40d38e6e3d Single docker container configuration. 2022-04-01 01:00:52 +01:00
Rory Powell af9a2cfd2f Add static html error page to nginx for 502, 503, 504 2022-03-31 15:58:45 +01:00
Martin McKeaveney 487e0c3d03 adding string interpolation syntax in NGINX 2022-03-31 12:13:42 +01:00
Martin McKeaveney cdd1409f19 adding intercom kit to CSP, and variables 2022-03-31 12:09:55 +01:00
Martin McKeaveney e263cc31bb merge with master 2022-03-30 15:44:22 +01:00
Andrew Kingston 334e41644e Allow data URI's for image sources and font sources 2022-03-28 16:08:25 +01:00
Rory Powell 0ee41ea10c Merge branch 'master' into merge-master 2022-03-25 13:10:37 +00:00
Andrew Kingston 78e78523e0 Merge branch 'develop' of github.com:Budibase/budibase into feature/map-actions 2022-03-25 12:00:17 +00:00
Rory Powell 838ed8a64b Merge branch 'master' into fix/cross-tenant-apps-with-session 2022-03-25 10:53:10 +00:00
Martin McKeaveney d93d4d08f2 update always to unless-stopped 2022-03-24 17:35:35 +00:00
Rory Powell 5392de54d5 Merge branch 'master' into fix/cross-tenant-apps-with-session 2022-03-23 16:45:36 +00:00
Rory Powell cb6103a321 Fix cross tenant apps with session 2022-03-23 16:45:06 +00:00
Rene Pot d9c6590482 fix broken docs links 2022-03-23 14:47:27 +01:00
Martin McKeaveney 0d667e7fca watchtower should restart if it crashes 2022-03-23 09:52:27 +00:00
Martin McKeaveney 11b3d52857 increasing client max body size for uploads 2022-03-21 15:24:39 +00:00
Andrew Kingston 95e6d4fb45 Change dev docker-compose restart policy to on-failure to stop running BB docker containers 247 2022-03-15 11:17:32 +00:00
Martin McKeaveney 3104a14012 merge 2022-03-08 12:40:41 +01:00
Martin McKeaveney 43348fd54f merge from master 2022-03-08 12:34:27 +01:00
mike12345567 5d7f4b6ab7 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-03-04 11:25:32 +00:00
Martin McKeaveney 28c788ec84
Merge pull request #4631 from Budibase/ci/deploy-proxy
removing need for handlebars in nginx script, automating proxy servic…
2022-03-03 09:06:49 +00:00
Martin McKeaveney 79dfe56d11 allowing iframes from HTTPS URLs 2022-03-02 22:43:41 +01:00
mike12345567 45cc611e1e Fixing an issue found with nginx + minio. 2022-02-25 15:54:39 +00:00
Martin McKeaveney 3e703a0b58 removing need for handlebars in nginx script, automating proxy service deployment 2022-02-22 13:24:21 +01:00
Rory Powell 3ee7997dae Replace location specific with global http host rule 2022-02-21 10:46:45 +00:00
Rory Powell 0bf65376c3 Forward Host header to worker and server through NGINX 2022-02-21 10:22:26 +00:00
Rory Powell 64966ae0c3
Merge pull request #4565 from Budibase/update-nginx-dev
Add 'location = /' -> 4001 to nginx dev conf
2022-02-18 17:39:02 +00:00
Martin McKeaveney 39aed46754 updating airgapped docker build script 2022-02-18 15:43:07 +01:00
Rory Powell a8a8e97840 Add 'location = /' -> 4001 to nginx dev conf 2022-02-18 11:18:59 +00:00
Martin McKeaveney ddf75aae04
Create hosting.properties 2022-02-17 00:30:28 +01:00
Martin McKeaveney 8c254095b1 updated CSP to allow font awesome 2022-02-16 16:54:15 +01:00
Martin McKeaveney cf87c26fa2 adding k8s resolver and updating watchtower variable 2022-02-16 15:33:57 +01:00
Martin McKeaveney 09eb276c73 relevant image name 2022-02-16 14:24:52 +01:00
Martin McKeaveney 387e5035d1 update gitignore 2022-02-16 14:16:06 +01:00
Martin McKeaveney a85f667dbe templatize nginx configuration into one prod configuration and add NPM scripts to manage 2022-02-16 14:12:53 +01:00
Martin McKeaveney dd6f77684c increasing burst limit on k8s 2022-02-16 12:24:43 +01:00
Martin McKeaveney 687ff5acd6 removing exposed ports from docker configuration 2022-02-15 10:49:41 +01:00
Martin McKeaveney e7233f9086 increase burst limit, remove log mounts 2022-02-14 17:39:10 +01:00
Martin McKeaveney 57e554a98b fixes for k8s 2022-02-11 19:04:27 +01:00
Martin McKeaveney 27c0eafaf9 CSP fixes 2022-02-11 16:05:35 +01:00
Martin McKeaveney e1f78a326b set correct port for worker 2022-02-11 15:39:18 +01:00
Martin McKeaveney b6320f14cc Merge branch 'fix/nginx' of github.com:Budibase/budibase into fix/nginx 2022-02-11 15:14:40 +01:00
Martin McKeaveney 082be8ef67 fix port redirection issue 2022-02-11 15:13:31 +01:00
mike12345567 a78dd38a58 Fixing img-src for self host. 2022-02-11 13:23:15 +00:00
Martin McKeaveney 8f668eac85 add csp update for nginx in self host 2022-02-11 13:23:53 +01:00
Martin McKeaveney b2c4b60aff fix for csp for images 2022-02-11 13:22:14 +01:00
Martin McKeaveney 1300216812 fix path in /app for k8s 2022-02-11 13:21:03 +01:00
Martin McKeaveney 580bb89fda Create envoy.yaml 2022-02-11 10:59:06 +01:00
Martin McKeaveney 13a2183616 update helm chart to use nginx 2022-02-01 15:23:11 +01:00
Martin McKeaveney 4fc9b6d535 adding nginx best practices on buffering and body size, gzip 2022-02-01 14:38:58 +01:00
Martin McKeaveney 3d89e14523 adding bbproxy to watchtower 2022-02-01 11:26:36 +01:00
Martin McKeaveney 7fb9b33f6c remove more references to envoy 2022-02-01 11:02:37 +01:00
Martin McKeaveney 56ae2e566e adding proxy to build process 2022-01-31 14:52:44 +01:00
Martin McKeaveney cca6d18af4 point to MinIO instance instead of through proxy 2022-01-30 21:25:56 +01:00
Martin McKeaveney 8fa60b6c72 adding env 2022-01-30 21:20:43 +01:00