Skip to content

jms5151/uh-noaa-shiny-app

Repository files navigation

uh-noaa-shiny-app

Setup

You can either pull the container

docker pull jamiecaldwell/uh-crw:latest

Or you can build the container

DOCKER_BUILDKIT=1 docker build \
    --tag jamiecaldwell/uh-crw:latest \
    --cache-from jamiecaldwell/uh-crw:latest \
    --build-arg BUILDKIT_INLINE_CACHE=1 .

After that you can run the container

docker run --rm -p 3838:3838 jamiecaldwell/uh-crw:latest

Visit http://localhost:3838 to view the dashboard.

Secrets

Secrets are encrypted using transcrypt. You can see encryoted files with transcrypt --list.

To intialise the repository on cloning run

transcrypt -c aes-256-cbc -p $TRANSCRYPT_PASSWORD

Build from scratch

DOCKER_ID="jamiecaldwell"
DOCKER_PASSWORD="xxx"
DOCKER_BUILDKIT=1 docker build --no-cache --tag jamiecaldwell/uh-crw:latest
echo "$DOCKER_PASSWORD" | docker login --username $DOCKER_ID --password-stdin
docker push jamiecaldwell/uh-crw:latest