Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
93 changes: 93 additions & 0 deletions docker-compose.geoserver.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
version: "3.2"

services:

geoserver:
image: clowder/geoserver:${VERSION:-latest}
networks:
- clowder
# user: "55242:17027"
environment:
- RABBITMQ_URI=${RABBITMQ_URI:-amqp://guest:guest@rabbitmq/%2F}
- RABBITMQ_EXCHANGE=${RABBITMQ_EXCHANGE:-clowder}
- REGISTRATION_ENDPOINTS=${REGISTRATION_ENDPOINTS}
- PROXY_ON=${PROXY_ON}
- PROXY_HOST=${TRAEFIK_HOST}
- PROXY_URL=${PROXY_URL}
- GEOSERVER_USERNAME=${GEOSERVER_USERNAME:-admin}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add these to the env.example and document them

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, can do.

- GEOSERVER_PASSWORD=${GEOSERVER_PASSWORD:-geoserver}
- GEOSERVER_WORKSPACE=${GEOSERVER_WORKSPACE}
- GEOSERVER_USER=${GEOSERVER_USER:-admin}
- GEOSERVER_URL=${GEOSERVER_URL}
ports:
- 8080:8080
volumes:
- /generated/data/mounting:/data_dir
restart: unless-stopped



ncsa_geo_shp:
image: clowder/extractors-geoshp-preview:latest
networks:
- clowder
environment:
- RABBITMQ_URI=${RABBITMQ_URI:-amqp://guest:guest@rabbitmq/%2F}
- RABBITMQ_EXCHANGE=${RABBITMQ_EXCHANGE:-clowder}
- REGISTRATION_ENDPOINTS=${REGISTRATION_ENDPOINTS}
- PROXY_ON=${PROXY_ON}
- PROXY_HOST=${TRAEFIK_HOST}
- PROXY_URL=${PROXY_URL}
- GEOSERVER_USERNAME=${GEOSERVER_USERNAME:-admin}
- GEOSERVER_PASSWORD=${GEOSERVER_PASSWORD:-geoserver}
- GEOSERVER_WORKSPACE=${GEOSERVER_WORKSPACE}
- GEOSERVER_USER=${GEOSERVER_USER:-admin}
- GEOSERVER_URL=${GEOSERVER_URL:-http://geoserver:8080}
depends_on:
- geoserver
- rabbitmq
- clowder
restart: unless-stopped

extractor-geotiff-preview:
image: clowder/extractors-geotiff-preview:latest
networks:
- clowder
environment:
- RABBITMQ_URI=${RABBITMQ_URI:-amqp://guest:guest@rabbitmq/%2F}
- RABBITMQ_EXCHANGE=${RABBITMQ_EXCHANGE:-clowder}
- REGISTRATION_ENDPOINTS=${REGISTRATION_ENDPOINTS}
- PROXY_ON=${PROXY_ON}
- PROXY_HOST=${TRAEFIK_HOST}
- PROXY_URL=${PROXY_URL}
- GEOSERVER_USERNAME=${GEOSERVER_USERNAME:-admin}
- GEOSERVER_PASSWORD=${GEOSERVER_PASSWORD:-geoserver}
- GEOSERVER_WORKSPACE=${GEOSERVER_WORKSPACE}
- GEOSERVER_USER=${GEOSERVER_USER:-admin}
- GEOSERVER_URL=${GEOSERVER_URL:-http://geoserver:8080}
depends_on:
- geoserver
restart: unless-stopped

extractor-geotiff-metadata:
image: clowder/extractors-geotiff-metadata:latest
networks:
- clowder
environment:
- RABBITMQ_URI=${RABBITMQ_URI:-amqp://guest:guest@rabbitmq/%2F}
- RABBITMQ_EXCHANGE=${RABBITMQ_EXCHANGE:-clowder}
- REGISTRATION_ENDPOINTS=${REGISTRATION_ENDPOINTS}
- PROXY_ON=${PROXY_ON}
- PROXY_HOST=${TRAEFIK_HOST}
- PROXY_URL=${PROXY_URL}
- GEOSERVER_USERNAME=${GEOSERVER_USERNAME:-admin}
- GEOSERVER_PASSWORD=${GEOSERVER_PASSWORD:-geoserver}
- GEOSERVER_WORKSPACE=${GEOSERVER_WORKSPACE}
- GEOSERVER_USER=${GEOSERVER_USER:-admin}
- GEOSERVER_URL=${GEOSERVER_URL:-http://geoserver:8080}
depends_on:
- geoserver
restart: unless-stopped

networks:
clowder:
15 changes: 15 additions & 0 deletions env.example
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,18 @@

# in case of external rabbitmq, the url to clowder
#RABBITMQ_CLOWDERURL=https://clowder-docker.ncsa.illinois.edu/clowder/

# ----------------------------------------------------------------------
# GEOSERVER CONFIGURATION
# ----------------------------------------------------------------------

#PROXY_ON=false
#PROXY_URL=http://localhost:9000

#GEOSERVER_USERNAME=admin
#GEOSERVER_PASSWORD=geoserver

#GEOSERVER_WORKSPACE=workspace

#GEOSERVER_USER=admin
#GEOSERVER_URL=http://localhost:8080