Commit Graph

317 Commits

Author SHA1 Message Date
Jonny McCullagh 042eec5841 rename default nginx site config 2022-06-24 18:35:18 +01:00
Jonny McCullagh f00c8cc69f add support for Azure App Service 2022-06-24 17:48:34 +01:00
Jonny McCullagh af5d1c9647 restart nginx 2022-06-23 15:08:56 +01:00
Jonny McCullagh d7c11cfc46 fixes for single image build 2022-06-23 15:03:09 +01:00
Jonny McCullagh ecbc561a06 new lines at end of files 2022-06-22 14:38:45 +01:00
Jonny McCullagh a2f5d8212b add cron to renew cert 2022-06-22 13:57:46 +01:00
Jonny McCullagh b0bf8a2d11 add letsencrypt to single docker image 2022-06-22 13:38:33 +01:00
mike12345567 2a17e9f732 Review comments. 2022-06-22 12:40:33 +01:00
mike12345567 b42e0c1c5e 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 9ad9860a9c Fixing cleanup script, adding ARM support to dockerfile, as well as adding ARM client. 2022-06-21 17:56:55 +01:00
mike12345567 af60582dad Slimming build down from 4GB to 1.8GB for single image. 2022-06-16 20:38:24 +01:00
mike12345567 148c7010e8 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 396a07cac5 Merge branch 'release' into feature/event-backfill 2022-06-09 15:21:49 +01:00
Peter Clement 2b117a1a35 update csp to account for certain s3 addresses 2022-06-07 11:03:33 +01:00
Rory Powell f47cee2ab6 Update lockfiles 2022-06-06 16:33:10 +01:00
Rory Powell a4eef3daab Add awareness of deployment environment 2022-06-01 14:10:00 +01:00
Kacper eab84b4c63 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 70fce03c09 updating helm chart for storage classes 2022-04-27 12:42:57 +01:00
Rory Powell be16540a8f Replace spectrum with custom CSS 2022-04-25 16:39:44 +01:00
Rory Powell 9e7cec7c01 Merge branch 'develop' into labday/nginx-error-page 2022-04-25 16:30:24 +01:00
Andrew Kingston 4897607860 Merge pull request #5208 from Budibase/portainer-template
Add portainer template
2022-04-05 14:19:47 +01:00
Michael Drury 130a02889a Merge pull request #5209 from Budibase/labday/single-docker
Single docker file lab-day
2022-04-05 12:16:09 +01:00
mike12345567 6dd50eb25a Review comments. 2022-04-05 11:33:55 +01:00
mike12345567 1f982428e2 Merge branch 'develop' of github.com:Budibase/budibase into labday/single-docker 2022-04-05 11:31:02 +01:00
Martin McKeaveney 2050645d80 fix CSP variables 2022-04-04 15:22:31 +01:00
mike12345567 05af8cafc2 Fixing test case. 2022-04-01 13:47:38 +01:00
Andrew Kingston 60cffc3eac Add portainer template 2022-04-01 12:52:55 +01:00
mike12345567 28e47a5fa8 Adding volumes. 2022-04-01 12:50:26 +01:00
mike12345567 a1f4a237f0 Minor changes to get BB client and manifest included correctly. 2022-04-01 12:37:01 +01:00
mike12345567 4b7ffbbce7 Single docker container configuration. 2022-04-01 01:00:52 +01:00
Rory Powell 5d2205a9bb Add static html error page to nginx for 502, 503, 504 2022-03-31 15:58:45 +01:00
Martin McKeaveney c86daa60c8 adding string interpolation syntax in NGINX 2022-03-31 12:13:42 +01:00
Martin McKeaveney f786701c7a adding intercom kit to CSP, and variables 2022-03-31 12:09:55 +01:00
Martin McKeaveney 034408b3c2 merge with master 2022-03-30 15:44:22 +01:00
Andrew Kingston cd84bd3f54 Allow data URI's for image sources and font sources 2022-03-28 16:08:25 +01:00
Rory Powell 69b2b38aea Merge branch 'master' into merge-master 2022-03-25 13:10:37 +00:00
Andrew Kingston bedbf4bcae Merge branch 'develop' of github.com:Budibase/budibase into feature/map-actions 2022-03-25 12:00:17 +00:00
Rory Powell 36a7323676 Merge branch 'master' into fix/cross-tenant-apps-with-session 2022-03-25 10:53:10 +00:00
Martin McKeaveney 14c75b2907 update always to unless-stopped 2022-03-24 17:35:35 +00:00
Rory Powell 5851525c88 Merge branch 'master' into fix/cross-tenant-apps-with-session 2022-03-23 16:45:36 +00:00
Rory Powell a68abf2730 Fix cross tenant apps with session 2022-03-23 16:45:06 +00:00
Rene Pot 6e0b29667d fix broken docs links 2022-03-23 14:47:27 +01:00
Martin McKeaveney 0bf5d3a8d4 watchtower should restart if it crashes 2022-03-23 09:52:27 +00:00
Martin McKeaveney e2d9811474 increasing client max body size for uploads 2022-03-21 15:24:39 +00:00
Andrew Kingston d89b12c57d 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 14cffcd6ff merge 2022-03-08 12:40:41 +01:00
Martin McKeaveney 975eb0b99e merge from master 2022-03-08 12:34:27 +01:00
mike12345567 63bb4f34c4 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-03-04 11:25:32 +00:00
Martin McKeaveney b28bffbb15 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 81f34a50fa allowing iframes from HTTPS URLs 2022-03-02 22:43:41 +01:00
mike12345567 2c4b36e4f9 Fixing an issue found with nginx + minio. 2022-02-25 15:54:39 +00:00
Martin McKeaveney 1cbca0578a removing need for handlebars in nginx script, automating proxy service deployment 2022-02-22 13:24:21 +01:00
Rory Powell 0f3df713d0 Replace location specific with global http host rule 2022-02-21 10:46:45 +00:00
Rory Powell bd73f8fd25 Forward Host header to worker and server through NGINX 2022-02-21 10:22:26 +00:00
Rory Powell c326771cb0 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 a09fd51fbd updating airgapped docker build script 2022-02-18 15:43:07 +01:00
Rory Powell da9be1b20a Add 'location = /' -> 4001 to nginx dev conf 2022-02-18 11:18:59 +00:00
Martin McKeaveney bfaca430da Create hosting.properties 2022-02-17 00:30:28 +01:00
Martin McKeaveney b259bcc9b6 updated CSP to allow font awesome 2022-02-16 16:54:15 +01:00
Martin McKeaveney a7a82dc679 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
Martin McKeaveney 7c4d7e0e8f nginx prod config, security headers and content-security policies 2022-01-30 21:11:59 +01:00
Martin McKeaveney 3544c8ac82 nginx proxy configs 2022-01-14 14:44:40 +01:00
Martin McKeaveney 9d35eea39b working dev setup 2022-01-13 14:27:02 +01:00
Martin McKeaveney 6721b234ac nginx dev setup 2022-01-11 20:33:22 +01:00
Martin McKeaveney 375364784b removing timeouts from app exports in cloud 2021-12-16 18:42:42 +01:00
mike12345567 b489ec1b52 Fixing symlink to env file for development. 2021-12-10 11:04:19 +00:00
Martin McKeaveney 7334fc6748 automate helm deployment with CI 2021-12-09 11:05:43 +00:00
Martin McKeaveney 5a614f33c3 CI Automation for helm chart release 2021-12-08 17:13:00 +00:00
Martin McKeaveney 7ff93e975a completely automate helm chart incrementing and semver 2021-12-08 16:27:33 +00:00
Martin McKeaveney 6f7926015a ensure that dry runs between budibase-infra and standard templates match 2021-12-08 13:19:43 +00:00
Martin McKeaveney 1d0b08905f adding image tag to worker and app services 2021-12-08 08:27:04 +00:00
Martin McKeaveney 8269e85eb9 helm chart release 2021-12-06 18:33:31 +01:00
Martin McKeaveney 5f86321f0b packaging helm chart with consolidated config 2021-12-06 17:19:53 +01:00
Martin McKeaveney eb7468494e adding yarn command for DO build 2021-12-02 14:38:57 +01:00
Martin McKeaveney e003f28e27 completely automate digitalocean release with hashicorp packer 2021-12-01 21:33:38 +01:00
mike12345567 0f0770af32 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-11-25 12:21:58 +00:00
Martin McKeaveney d5a5f4d227 adding version metadata to docker build 2021-11-22 18:25:57 +01:00