Dough Git

clove/pkviewer

deploy/env.sh

back to deploy

# deploy/env.sh
# MIT — (c) Doughmination System®
# Shared by deploy/api/run and deploy/web/run. Secrets live in .env, never here.

cd /srv/clove/pkviewer || exit 1

export HOST=127.0.0.1
export WEB_PORT=3000
export API_PORT=3001

export NODE_ENV=production

# Run as clove rather than root. chpst doesn't change HOME, so set it for Deno's cache
export HOME=/home/clove