Rory Powell
b635614f77
Allow proxy upstream URLs to be configured at runtime ( #7413 )
...
* allow proxy upstream urls to be configured at runtime
* make dynamic upstream urls in proxy the default behaviour
* reorder env directives
* Use appVersion for proxy image
* Update couch upstream for proxy
* proxy ci updates - WIP
* allowing custom resolvers in proxy service deployment
* remove generateProxyConf script for prod and remove from builds
* remove generateProxyConfig script
* removing nginx dev conf
* delete generated nginx conf
Co-authored-by: Thomas Weiß <panos@unbunt.org>
Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com>
2022-12-20 16:28:13 +00:00
mike12345567
2c2f08339c
Adding library to configure test containers at Jest startup.
2022-12-15 21:06:30 +00:00
mike12345567
b322c776b5
Updating dev nginx after recent changes for signing.
2022-12-15 19:37:25 +00:00
mike12345567
c7e148d5d3
Fixing CouchDB image.
2022-12-15 17:28:39 +00:00
mike12345567
d8e702567b
Merge branch 'develop' of github.com:Budibase/budibase into feature/test-image
2022-12-15 15:22:01 +00:00
Rory Powell
786039055e
File authentication using presigned URLs ( #8883 )
...
* file auth wip
* Private plugin bucket wip
* Add etag to logo request, fix circular dependency
* Resolve cyclic dependency
* Ensure browser doesn't cache custom component
* Global file fixes
* File fixes / remove permaUrl
* Add ctx local storage
* Enable presigned url to work from any host
* Test fix
* Self hosting w/ S3 + other fixes
* Fix for serving dev app in multi tenant
* Fix backup restore and import attachment url processing, never store attachment urls
* Test fixes
* Unit tests WIP
* Replace file path with base64 encoded private key
* Multi tenancy tests for files
* Environment files fixes
* Post-merge build and test fixes
* Add debug conditional to all jest logging and revert/fix prod minio proxy_pass
* Re-add default '/' minio route :(
* Rename iconFile -> iconFileName
* Add cloudfront vars to k8s templates
* Remove public bucket policy
* Remove duplicated test
2022-12-15 11:35:22 +00:00
mike12345567
efbc3f1e92
Updating dev compose to use test image.
2022-12-13 17:14:08 +00:00
mike12345567
77a18bbba9
Adding base test image
2022-12-13 16:50:31 +00:00
mike12345567
b2171c5955
Enabling pushing of budibase/couchdb image.
2022-12-09 22:11:15 +00:00
mike12345567
e8667fd04d
Merge branch 'develop' of github.com:Budibase/budibase into feature/test-image
2022-12-09 17:23:26 +00:00
Jonny McCullagh
1e8e497c08
single image nginx logs to stdout
2022-12-06 10:58:13 +00:00
mike12345567
9b144f61f7
Updating single image, break out couchdb config into its own image.
2022-12-01 17:08:49 +00:00
mike12345567
5f1019d9fd
Creating pure BB-CouchDB image.
2022-12-01 13:42:56 +00:00
mike12345567
cfbed0b236
Merge branch 'master' of github.com:Budibase/budibase into develop
2022-11-21 15:05:48 +00:00
mike12345567
d2f8a59b65
Updating proxy configuration for docker-compose, k8s and single image to allow longer timeout for app export requests. Also fixing an issue that blocked requests from getting to app-service.
2022-11-15 10:49:17 +00:00
Jonny McCullagh
c71f9ccecf
single image NFS & more logging
2022-11-13 17:53:32 +00:00
Rory Powell
6783fd713e
Update tenancy detection to honour any subdomain pattern according to platform url
2022-11-09 16:35:16 +00:00
mike12345567
ecb398bf98
Merge branch 'master' of github.com:Budibase/budibase into develop
2022-11-09 13:41:51 +00:00
mike12345567
62f65d3c16
Updating nginx conf to allow export a lot longer period before timeout.
2022-11-09 11:33:57 +00:00
Rory Powell
a6157e2c45
Add budibase.net to CSP
2022-11-08 10:26:28 +00:00
mike12345567
6d72e51d16
Some fixes for CLI to get exporting/importing with different ports working, as well as a fix for access to minio through proxy.
2022-10-26 18:51:58 +01:00
Andrew Kingston
603c8744a5
Merge branch 'master' into master-develop
2022-10-25 12:03:33 +01:00
Jonny McCullagh
d1e729ec55
proxy IPv6 removal needs to happen after envsubst
2022-10-18 09:33:04 +01:00
Jonny McCullagh
ecb47851d6
make proxy ipv6 customise script executable
2022-10-17 10:20:09 +01:00
Martin McKeaveney
6ff52c64a3
ipv6 change for master
2022-10-13 18:07:55 +01:00
Jonny McCullagh
5d0dd41de3
single image mount nfs share if vars defined
2022-10-13 11:57:00 +01:00
Rory Powell
36f122a0af
Add additional timeout configuration to nginx.dev.conf.hbs
2022-10-13 11:26:25 +01:00
Jonny McCullagh
eecaa61555
remove ipv6 conf from nginx proxy if ipv6 not enabled
2022-10-12 15:02:05 +01:00
Jonny McCullagh
af2203fac8
remove ipv6 conf from nginx proxy if ipv6 not enabled
2022-10-12 14:54:25 +01:00
Jonny McCullagh
67301cfb58
remove ipv6 conf from nginx proxy if ipv6 not enabled
2022-10-12 14:53:06 +01:00
mike12345567
2421f16a8c
Merge branch 'develop' of github.com:Budibase/budibase into develop
2022-10-06 16:58:33 +01:00
mike12345567
a86cdb3291
Fixing issue #8079 - making sure TARGETARCH gets correctly exported to environment to pick correct minio bundle.
2022-10-06 14:05:01 +01:00
Jonny McCullagh
c456e2ad3d
Merge pull request #8059 from Budibase/jonny/aas-storage
...
AAS enable app service storage
2022-10-03 14:32:16 +01:00
Jonny McCullagh
ad70bd5a0b
AAS enable app service storage
2022-09-30 11:47:01 +01:00
Jonny McCullagh
8fa5893b49
AAS enable app service storage
2022-09-30 11:43:42 +01:00
Rory Powell
143cf2ff35
Add ACCOUNT_PORTAL_URL to images default environment
2022-09-23 13:40:00 +01:00
Rory Powell
aebc51299e
Enable feature flags selfhost
2022-09-22 14:41:41 +01:00
Rory Powell
0f98f2fcaa
Merge branch 'master' into develop
2022-09-15 10:19:56 +01:00
Jonny McCullagh
b055a0e383
move env vars to runner.sh
2022-09-14 13:24:11 +01:00
Jonny McCullagh
6ab6ea62ac
Azure App Service customisations
2022-09-13 16:08:54 +01:00
Andrew Kingston
be15aff40f
Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience-websocket
2022-09-12 20:00:32 +01:00
Rory Powell
45a43baee2
Merge branch 'master' into develop
2022-09-12 14:05:36 +01:00
Andrew Kingston
925477e156
Merge pull request #7670 from Budibase/update-preview-endpoint
...
Update preview endpoint
2022-09-07 12:21:48 +01:00
Andrew Kingston
2e72eb4f2e
Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience-websocket
2022-09-07 12:07:25 +01:00
Jonny McCullagh
b3ad464cd9
single image data path
2022-09-07 10:51:53 +01:00
Andrew Kingston
0bc7ffe0a1
Update preview endpoint to be prefixed with /app to not require an updated proxy config
2022-09-07 10:40:00 +01:00
mike12345567
5c62bdac2e
Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience
2022-09-05 14:14:47 +01:00
Rory Powell
5a34bda3e2
Configurable api rate limit through nginx
2022-09-05 09:54:07 +01:00
Rory Powell
6cee01ed74
Merge pull request #7622 from Budibase/configurable-api-rate-limit
...
Configurable api rate limit through nginx
2022-09-05 09:51:09 +01:00
Rory Powell
dc35b0da78
Configurable api rate limit through nginx
2022-09-05 09:09:43 +01:00
Andrew Kingston
a794e19dfc
Update nginx confs and add to single image
2022-09-02 12:26:30 +01:00
Andrew Kingston
28aaaf9661
Update vite path for proxying websocket to be /vite
2022-09-02 11:48:45 +01:00
Andrew Kingston
d989e346ca
Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience-websocket
2022-09-01 14:39:30 +01:00
mike12345567
320cbfada3
Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience
2022-08-31 15:53:32 +01:00
Martin McKeaveney
02c93071ee
merge
2022-08-30 10:33:37 +01:00
Rory Powell
50ae706953
Update NGINX access log to show upstream_response_time, proxy_host and upstream_addr
2022-08-26 13:18:38 +01:00
Andrew Kingston
a4684b8ac4
Add preview endpoint to prod nginx conf
2022-08-23 08:50:36 +01:00
Andrew Kingston
36b067a600
Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience-websocket
2022-08-22 17:54:14 +01:00
Andrew Kingston
23a91b89a7
Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience
2022-08-22 11:27:04 +01:00
Andrew Kingston
d19a0f171e
Serve builder preview via server to fix dependency on third party cookies
2022-08-20 13:47:57 +01:00
Andrew Kingston
2c87d6e340
Initial work on websockets
2022-08-19 11:09:20 +01:00
Andrew Kingston
32025ef76d
Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience
2022-08-17 16:13:27 +01:00
Andrew Kingston
5807488f19
Add PLUGINS_DIR env var and show example mount for HMR of plugins
2022-08-16 15:14:47 +00:00
Jonny McCullagh
dfb368d3f3
fix sed apostrophe error and couchdb path
2022-08-16 15:08:00 +01:00
Andrew Kingston
16568f42ff
Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience
2022-08-16 09:33:17 +00:00
Andrew Kingston
1ef1cc84ad
Proxy vite HMR websocket in dev
2022-08-16 09:25:16 +00:00
Andrew Kingston
6093da79d6
Add hot reloading for component plugins via watched plugin directory
2022-08-15 22:23:45 +01:00
Jonny McCullagh
625f36db7c
Merge pull request #7226 from Budibase/azureappservice
...
single image build data path for azure
2022-08-11 15:18:24 +01:00
Jonny McCullagh
4c837f8e86
single image build data path for azure
2022-08-11 12:08:56 +01:00
Rory Powell
21f1970bf3
Revert proxy image change
2022-08-10 14:32:07 +01:00
Rory Powell
ae5f0464b5
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
d36ff097ee
Update posthog token
2022-08-08 14:03:04 +01:00
Rory Powell
c94d916050
Add seperate rate limiting config for webhooks + environment variable support
2022-08-05 17:41:55 +01:00
mike12345567
bd7ace561a
Merge branch 'master' of github.com:Budibase/budibase into develop
2022-07-22 19:14:35 +01:00
mike12345567
ccdf3cf901
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
6f78b5eea8
Merge branch 'develop' of github.com:Budibase/budibase into labday/backups
2022-07-18 14:16:39 +01:00
mike12345567
a8a7bea658
Merge branch 'develop' of github.com:Budibase/budibase into labday/backups
2022-07-18 13:59:46 +01:00
Jonny McCullagh
4605308e22
WAzure App Service image to docker registry
2022-07-18 12:21:25 +01:00
mike12345567
f9547ba3ef
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
9924c33f9b
Merge pull request #6636 from Budibase/omnibus-action
...
Single image pipeline
2022-07-11 11:12:09 +01:00
mike12345567
e3e2892300
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
6a1c5b235d
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
f0d324c675
Adding missing environment variable.
2022-07-06 16:33:40 +01:00
mike12345567
e5ddcd9f86
Adding MinIO handling, backing up to disk by bucket name.
2022-06-30 20:26:49 +01:00
Andrew Kingston
f49e2886ca
Add env vars to hosting.properties and helm chart
2022-06-30 11:34:41 +01:00
Andrew Kingston
467cc27f47
Add env vars to automatically create initial admin user on first run
2022-06-30 11:28:52 +01:00
Jonny McCullagh
77725c1a74
update the readme
2022-06-24 18:59:32 +01:00
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