truenas-docker/gitea/.bak/.env
2025-12-02 13:08:52 +02:00

33 lines
1.2 KiB
Bash

################################################################
APP_NAME=gitea
STACKSDIR=/opt/stacks/gitea
DATADIR=/mnt/data/gitea
PUID=1000
PGID=1000
PG_UID=70
PG_GID=70
TZ=Africa/Johannesburg
DOMAINNAME=sthome.org
################################################################
POSTGRES_DB=gitea
POSTGRES_USER=gitea
# Generate the password with openssl rand 36 | base64 -w 0 && echo
POSTGRES_PASSWORD_FILE=/run/secrets/gitea_postgresql_password
GITEA__database__DB_TYPE=postgres
GITEA__database__NAME=gitea
GITEA__database__USER=gitea
GIT_DISCOVERY_ACROSS_FILESYSTEM=1
################################################################
GITEA__mailer__ENABLED=true
GITEA__mailer__FROM=gitea@sthome.org
GITEA__mailer__PROTOCOL=smtp
GITEA__mailer__SMTP_ADDR=smtp.telkomsa.net
GITEA__mailer__SMTP_PORT=25
GITEA__mailer__USER=stuurman30@telkomsa.net
################################################################
#GITEA__mailer__PASSWD # enter the password when accessing gitea for the first time at Initial Configuration page
#GITEA__database__PASSWD__FILE # enter the password when accessing gitea for the first time at Initial Configuration page, must be same as the content of /opt/stacks/gitea/secrets/gitea_postgresql_password