Skip to content

This repository demonstrates how to make a Docker image containing a custom Tethys Portal with apps installed.

License

Notifications You must be signed in to change notification settings

tethysplatform/tethys_portal_docker

Repository files navigation

Demonstration Tethys Portal Docker Project

This repository demonstrates how to make a Docker image containing a custom Tethys Portal with apps installed. The apps installed are the solutions to several of the Tethys Platform tutorials and include:

Checkout

git clone --recursive-submodules https://github.com/tethysplatform/tethys_portal_docker.git

Build

docker compose build web

Run

  1. Create Data Directories
mkdir -p data/db
mkdir -p data/tethys
mkdir -p data/thredds
mkdir -p keys/gee
mkdir -p logs/tethys
mkdir -p logs/thredds/thredds
mkdir -p logs/thredds/tomcat
  1. Acquire a Earth Engine Service Account and Key file (see Step 1 of Google Earth Engine Service Account).

  2. Add the Google Earth Engine service account JSON key file to the keys/gee directory.

  3. Create copies of the .env files in the env directory and modify the settings appropriately.

  4. Update env_file sections in the docker-compose.yml to point to your copies of the .env files.

  5. Start containers:

docker compose up -d

About

This repository demonstrates how to make a Docker image containing a custom Tethys Portal with apps installed.

Resources

License

Stars

Watchers

Forks

Packages

No packages published