diff --git a/docker-compose.yml b/docker-compose.yml index 2866a72..7231a4b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,13 +1,31 @@ version: '3' services: emu: + # http://localhost:5000/wps build: . - image: birdhouse/emu + image: birdhouse/emu:dev ports: - "5000:5000" + volumes: + - outputpath:/tmp + thredds: + # Thredds is used as DAP server for Emu outputs + # http://localhost:8080/thredds/catalog.html + image: unidata/thredds-docker:4.6.14 + ports: + - "8080:8080" + volumes: + - ./threddsCatalog.xml:/usr/local/tomcat/content/thredds/catalog.xml:ro + - outputpath:/wps_outputs:ro + +volumes: + outputpath: {} # docker-compose build # docker-compose up -# docker-compose down +# docker-compose down -v +# -v, --volumes Remove named volumes declared in the `volumes` section +# of the Compose file and anonymous volumes +# attached to containers. # docker-compose rm diff --git a/threddsCatalog.xml b/threddsCatalog.xml new file mode 100644 index 0000000..63a34b0 --- /dev/null +++ b/threddsCatalog.xml @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + all + + + + + + + + + + + + + + + + + + + + +