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:
git clone --recursive-submodules https://github.com/tethysplatform/tethys_portal_docker.git
docker compose build web
- 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
-
Acquire a Earth Engine Service Account and Key file (see Step 1 of Google Earth Engine Service Account).
-
Add the Google Earth Engine service account JSON key file to the
keys/gee
directory. -
Create copies of the
.env
files in theenv
directory and modify the settings appropriately. -
Update
env_file
sections in thedocker-compose.yml
to point to your copies of the.env
files. -
Start containers:
docker compose up -d