Skip to content

Docker network with minio and stac-browser to mock cloud environment for development activities

License

Notifications You must be signed in to change notification settings

fema-ffrd/cloud-mock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cloud-mock

Docker network with minio and stac-browser to mock cloud environment for development activities


Getting Started

  1. Create a .env file (see example.env for content) at the root of this repo.
  2. If pulling test data from s3 add AWS credentials to the .env and sync the data:
    chmod +x copy-test-data.sh && ./copy-test-data.sh
  3. Start the docker network
    docker-compose up

minio

  • In a browser go to http://localhost:9000
  • Sign in using username and password from the .env.
  • Verify that the data is available.

stac-browser

Usage (example)

  1. Run docker-compose up on cloud-mock, make sure example-data has been copied to the minio bucket.
  2. Clone ras-stac
  3. In ras-stac, make sure .env is in place and run the populate-sample-data.sh script to create a sample stac catalog.
  4. Navigate to stac-browser and enter the locally hosted, newly created stac-catalog using the catalog url: http://localhost:9000/pilot/stac/catalog.json

About

Docker network with minio and stac-browser to mock cloud environment for development activities

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages