Skip to content

Commit

Permalink
implement bbox colormap and wip strava heatmap
Browse files Browse the repository at this point in the history
  • Loading branch information
nicokant committed Feb 9, 2024
1 parent cba1f9d commit 8d7eaff
Show file tree
Hide file tree
Showing 22 changed files with 1,932 additions and 1,112 deletions.
12 changes: 12 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,21 @@ services:

titiler:
build: ./titiler
tty: true
depends_on:
- nginx-dev
stdin_open: true
ports:
- "5002:8080"
volumes:
- ./titiler/src:/app/src
environment:
- TITILER_API_ROOT_PATH=tiler

jupyter:
build: ./titiler
command: jupyter notebook --allow-root --ip 0.0.0.0 --no-browser --NotebookApp.token='' --NotebookApp.password=''
ports:
- 8888:8888
volumes:
- ./titiler/src:/app/src
16 changes: 6 additions & 10 deletions nginx/default.conf.template
Original file line number Diff line number Diff line change
@@ -1,25 +1,21 @@
upstream titiler {
server titiler:8080;
keepalive 64;
}

server {
listen 80;
server_name localhost;
root /var/www;

location ~* ^/data/(.+) {
try_files $uri $uri/;
}

location /tiler/ {
proxy_pass http://titiler:8080;
proxy_pass http://titiler;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
}


location / {
try_files $uri /index.html;
}

error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
Expand Down
7 changes: 6 additions & 1 deletion nginx/dev.conf.template
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
upstream titiler {
server titiler:8080;
keepalive 64;
}

server {
listen 80;
server_name localhost;
Expand All @@ -9,7 +14,7 @@ server {
}

location /tiler/ {
proxy_pass http://titiler:8080;
proxy_pass http://titiler;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
Expand Down
162 changes: 0 additions & 162 deletions scripts/.gitignore

This file was deleted.

20 changes: 0 additions & 20 deletions scripts/Dockerfile

This file was deleted.

10 changes: 0 additions & 10 deletions scripts/README.md

This file was deleted.

80 changes: 0 additions & 80 deletions scripts/create_layers.sh

This file was deleted.

8 changes: 0 additions & 8 deletions scripts/docker-compose.yml

This file was deleted.

Loading

0 comments on commit 8d7eaff

Please sign in to comment.