Files
infrastructure/.env
T

45 lines
1.9 KiB
Bash
Raw Normal View History

# The vel's stack as it is meant to run: hosts, versions, where the
# content comes from. Committed, and read by `podman compose` as is, so a
# change here is a reviewed commit and a push to main deploys it.
#
# Nothing secret goes here: the repo is public. The secrets are in
# secrets.env, portal.env, nats.env and chat.env on the host, made there
# by bootstrap.sh and kanidm-setup.sh (see secrets.env.example).
# Where the site, the login and the chat are served. Each needs an A
# record pointing here (dns/dnsconfig.js) and a block in kasse's Caddy.
PORTAL_HOST=vel.klingenbergbygg.no
ID_HOST=id.vel.klingenbergbygg.no
CHAT_HOST=chat.vel.klingenbergbygg.no
# Versions. A bump is the upgrade.
# portal: a tag of https://project.uhhm.no/uhhm/portal; keep the content
# repo's lint (PORTAL_RELEASE in its lint-and-reload.yml) on the same one.
PORTAL_RELEASE=v0.13.0
# gdo: a tag of https://project.uhhm.no/uhhm/gdo. It hands the vel's mail
# to kasse's postfix.
GDO_RELEASE=v0.2.0
# cnats, the chat: a bendik/cnats tag on Docker Hub, above 0.4.0.
CNATS_TAG=0.4.2
# kron, the money service: a bendik/kron tag on Docker Hub.
KRON_RELEASE=0.1.0
COMPOSE_PROFILES=chat
# The content this instance serves, and reloads live on every push.
CONTENT_REPO=https://prosjekt.klingenbergbygg.no/tomtervel/questions
CONTENT_BRANCH=main
# The namespace of everything the site keeps on NATS. Must not change: a
# new name is a new, empty site.
SITE_NAME=tomtervel
# Who is who. `memberships`: portal keeps the groups itself, and Kanidm
# only makes the accounts. Everyone a page names as responsible joins
# RESPONSIBLE_GROUP.
PEOPLE_BACKEND=memberships
RESPONSIBLE_GROUP=redaktor
OAUTH2_CLIENT_ID=tomtervel-portal
# A project Gitea that RESPONSIBLE_GROUP may sign in to with the same
# account (kanidm-setup.sh makes its client). Empty: no Gitea.
GITEA_URL=https://prosjekt.klingenbergbygg.no
GITEA_AUTH_NAME=tomtervel