Skip to content

Commit

Permalink
Merge pull request #396 from KNMI/adaguc-data-explorer
Browse files Browse the repository at this point in the history
Added data explorer end point
  • Loading branch information
ernstdevreede authored Sep 24, 2024
2 parents e1458a0 + 545d63f commit d07d721
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
18 changes: 16 additions & 2 deletions Docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3.1"

services:
adaguc-viewer:
image: openearth/adaguc-viewer
Expand All @@ -19,6 +17,22 @@ services:
options:
max-size: "200k"
max-file: "10"
adaguc-data-explorer:
image: openearth/adaguc-data-explorer
container_name: adaguc-data-explorer
hostname: adaguc-data-explorer
networks:
- adaguc-network
environment:
- "ADAGUC_AUTOWMS_ENDPOINT=${EXTERNALADDRESS}/autowms?"
env_file:
- .env
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "200k"
max-file: "10"
adaguc-server:
image: openearth/adaguc-server
# build: ..
Expand Down
6 changes: 6 additions & 0 deletions Docker/nginx-adaguc/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ http {
proxy_pass http://adaguc-viewer:80/adaguc-viewer/;
}

# Adaguc Data Explorer
location /explorer/ {
proxy_pass http://adaguc-data-explorer:80/;
}


# Adaguc-server endpoints
location /wms {
proxy_pass http://adaguc-server:8080/wms;
Expand Down

0 comments on commit d07d721

Please sign in to comment.