Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.52 KB

QuickTips.md

File metadata and controls

49 lines (32 loc) · 1.52 KB

Quick tips:

Back to readme

Scanning datasets

Scan with the adaguc-server container:

docker exec -i -t my-adaguc-server /adaguc/adaguc-server-updatedatasets.sh <optional datasetname>

Similar command, but in this case we go inside the container and call the script directly:

docker exec -it my-adaguc-server bash
cd /adaguc
. ./adaguc-server-chkconfig.sh
${ADAGUC_PATH}/bin/adagucserver --updatedb --config ${ADAGUC_CONFIG},<optional datasetname>

Now you can use all options as documented in doc/info/Commandline.md

Listing files in your docker container

A tip to list the actual contents in the docker container is to do:

# List data files in your container
docker exec -i -t my-adaguc-server bash -c "ls -lrt /data/adaguc-data"
# List dataset configurations in your container
docker exec -i -t my-adaguc-server bash -c "ls -lrt /data/adaguc-datasets"

Endpoints

  • https://<your hostname>:<port>/adagucserver? Will be forwarded automaticall to /wms or /wcs depending on the service type
  • https://<your hostname>:<port>/wms? For serving Web Map Services
  • https://<your hostname>:<port>/wcs? For serving Web Coverage Services
  • https://<your hostname>:<port>/adagucopendap/ For serving OpenDAP services
  • https://<your hostname>:<port>/autowms? For getting the list of visualizable resources

Print your ./Docker/.env file for current docker-compose settings with cat ./Docker/.env