Nick Ballenger
de29a46c57
Changing path to nginx proxy conf file
2019-07-18 16:16:45 -07:00
Nick Ballenger
5f0eb86bed
Changing the Nginx config to a single file
...
I've combined the core nginx.conf with the proxy config, which all goes
into /etc/nginx/nginx.conf.
I've made a number of changes:
* Nginx now proxies both SQL API and Windshaft requests through Varnish.
* Nginx adds a custom HTTP header, X-Carto-Service, so that Varnish can
differentiate between backends (since it can't do so based on incoming
port).
* I've modified the primary Nginx log format to include more information
on how requests are being proxied--you can now see the upstream address
for proxied requests.
* I've added the `proxy_no_cache` and `proxy_cache_bypass` directives to
the Windshaft and SQL API proxy sections. Without those directives,
Nginx may attempt to act as a cache, returning 304 Not Modified for
resources that more accurately should be cached by Varnish (whose cache
is invalidated via a Postgres trigger for updated metadata).
2019-07-18 16:08:53 -07:00
Stefan Verhoeven
906d496494
CartoDB-SQL-API switched from yarn to npm
...
Similar to Windshaft-cartodb see https://github.com/sverhoeven/docker-cartodb/pull/75
2019-06-19 14:18:02 +02:00
Stefan Verhoeven
9acb1b4919
Merge pull request #75 from christophekey/christophekey-npminstall
...
Update Dockerfile with npm install, not yarn
2019-06-19 14:16:13 +02:00
Christophe
dc32f39926
Update Dockerfile
2019-06-12 13:17:15 +01:00
Stefan Verhoeven
b106b301c9
sql api was unable to find pg module
...
Switched to yarn to install deps in flat hierarchy instead of npms nested
2019-04-13 17:00:12 +02:00
Stefan Verhoeven
65e9a7b253
Upgrade node + repin scikit-learn + sync config with sample
2019-04-09 15:20:17 +02:00
Stefan Verhoeven
fe1a12d1d1
Merge pull request #69 from bplmp/patch-1
...
Specify bundler version
2019-01-04 15:52:22 +01:00
Bernardo Loureiro
57ab2e00ea
Specify bundler version
...
Before, the Dockerfile was installing the latest bundler version, which is only compatible with Ruby >= 2.3.0. I've changed the bundler version to 1.17.3, which requires Ruby >= 1.8.7. Version info here: https://rubygems.org/gems/bundler/versions/1.17.3
2019-01-03 14:39:42 -02:00
Stefan Verhoeven
5af3fe24e1
Moved build chapter to bottom
...
To deter users from building the image themselves, because most times it is easier/quicker to pull the image from Docker Hub.
2018-09-20 08:44:17 +02:00
Stefan Verhoeven
397ffca212
Disable the request size max limit
...
Refs #63
2018-09-20 08:43:20 +02:00
Stefan Verhoeven
2f0be5a27f
Numpy gets upgraded after scikit-learn is installed.
...
Make sure scikit-learn is compatible with currently installed numpy, by reinstalling
Refs #56
Refs #53
2018-08-26 13:12:59 +02:00
Stefan Verhoeven
c9a98f6ae5
During startup make postgres owner of PGDATA dir if not already.
...
Refs #51
2018-08-06 17:06:33 +02:00
Stefan Verhoeven
da676bc583
Using os installed ruby instead of rvm
2018-08-06 14:57:50 +02:00
Stefan Verhoeven
a3c9628836
When specifying hostname using env var use only one hostname.
2018-08-06 14:44:50 +02:00
Stefan Verhoeven
c32b1e1cd2
Rename active record adaptor
2018-07-27 09:11:15 +02:00
Stefan Verhoeven
f979bc8e84
Fixes #49
2018-07-27 09:10:50 +02:00
Stefan Verhoeven
fcb1b89c98
Update uid of postgres user
...
Refs #46
2018-07-16 17:28:30 +02:00
Stefan Verhoeven
a1f1ceaf86
Mention tomtom and mapbox as geocoders.
...
Also trigger new build on DockerHub to get fix of https://github.com/CartoDB/carto.js/issues/2161
2018-07-04 20:08:27 +02:00
Stefan Verhoeven
467daa8bb4
Prefer hostname over ip
2018-07-04 11:27:25 +02:00
Stefan Verhoeven
9d969b8699
Merge remote-tracking branch 'origin/master'
2018-07-04 11:18:48 +02:00
Stefan Verhoeven
943c32ff59
Enable new dashboard flag
...
Back to using master branch of cartodb repo
2018-07-04 11:10:16 +02:00
Stefan Verhoeven
0faa6b44e5
Using OS ogr2ogr
2018-07-02 23:07:35 +02:00
Stefan Verhoeven
c4d37ada9d
Pinning to v4.12.26, dashboard ok
2018-07-02 22:38:10 +02:00
Stefan Verhoeven
342010e7bd
Pin to working version of repos
2018-07-02 22:37:56 +02:00
Stefan Verhoeven
27155eca32
Trying to make carto work on ubuntu 18.04
...
Failing after logging page has header/footer but nothing else, so no way to create dataset/map/logout
2018-06-22 15:20:16 +02:00
Stefan Verhoeven
212a60dab3
Use label for maintainer
2018-06-22 11:24:28 +02:00
Stefan Verhoeven
3ebc1d411f
cdb_service_quota_info() failed due to missing tomtom config
...
Added it
2018-06-22 11:23:45 +02:00
Stefan Verhoeven
0f1d69ebe4
Regenerate api keys during startup
2018-06-22 11:23:20 +02:00
Stefan Verhoeven
b9efc49137
Correct CARTO_HOSTNAME setter
2018-06-22 11:22:59 +02:00
Stefan Verhoeven
5e721f0cac
Sync config file
2018-06-22 10:29:42 +02:00
Stefan Verhoeven
53e2998e58
Dont install pip with apt
...
Upgrading pip afterwards gave problems, so installing it using get-pip
2018-06-22 10:28:11 +02:00
Stefan Verhoeven
be4dad7bde
Allow to use env var to set hostname
...
Refs #39
2018-06-22 10:27:27 +02:00
Stefan Verhoeven
f49dda90d6
Merge pull request #31 from radu-tutueanu/fix-pip-install
...
Downgrade pip
2018-04-20 13:02:18 +02:00
Radu Tutueanu
20a8df770e
Downgrade pip
2018-04-20 10:37:00 +01:00
Stefan Verhoeven
f098d956c0
Enable private maps
...
Fixes #26
2018-04-04 22:32:06 +02:00
Stefan Verhoeven
8ff9dcd952
Sync config files
...
Refs #29
2018-04-04 22:23:54 +02:00
Stefan Verhoeven
0a7b608eca
Revert "Enable private maps"
...
This reverts commit 8a5a19e0c7
.
Fixes #27
2018-03-27 09:52:17 +02:00
Stefan Verhoeven
8a5a19e0c7
Enable private maps
...
Fixes #26
2018-03-23 13:44:15 +01:00
Stefan Verhoeven
84e3f3a7e5
Added mapbox_conf to prevent http error when editing map
2018-03-04 21:13:44 +01:00
Stefan Verhoeven
e05e7e87cf
Merge pull request #24 from kydreth/patch-1
...
Update to README.md: Note -h can support ip addresses
2018-03-04 20:56:06 +01:00
Stefan Verhoeven
30b6f74f2c
Added CITATION.cff
2018-03-02 14:30:53 +01:00
Justin Taylor
af9e1f0cfb
Note -h can support ip addresses
...
If you don't have a domain/subdomain pointing to your server yet, you can use the servers external ip address.
2018-03-01 10:51:27 +00:00
Stefan Verhoeven
a175e8b711
Merge remote-tracking branch 'origin/master'
2018-02-17 13:56:23 +01:00
Stefan Verhoeven
12977507d9
Install observatory extension
...
Config still points to global common data instead of local observatory
2018-02-17 13:54:15 +01:00
Stefan Verhoeven
66a5be7f09
Force yarn version for windshaft
...
Fixes #23
2018-02-17 13:53:49 +01:00
Stefan Verhoeven
8d53bfb8ef
Merge pull request #18 from CharleyPeng1/patch-1
...
Update README.md
2017-11-07 09:36:27 +01:00
CharleyPeng1
6c0ebaa563
Update README.md
2017-11-07 15:49:54 +11:00
Stefan Verhoeven
d919441db4
Varnish download location has moved + Cartodb repo now longer accepts environment during grunt task, so dropped it
2017-09-08 19:03:45 +02:00
Stefan Verhoeven
5218b9940e
Enabled sync tables for all users + periodically trigger sync tables task
...
Refs #11
2017-08-01 22:07:30 +02:00