Add gitea config. Extract secrets to sops encrypted file.
This commit is contained in:
18
hosts/home-morefine/docker/gitea/.env
Normal file
18
hosts/home-morefine/docker/gitea/.env
Normal file
@@ -0,0 +1,18 @@
|
||||
# Host git user. Owns git repo. Used for Ssh
|
||||
USER=git
|
||||
USER_UID=134
|
||||
USER_GID=139
|
||||
|
||||
GITEA__DATABASE__DB_TYPE=postgres
|
||||
GITEA__DATABASE__HOST=db:5432
|
||||
GITEA__DATABASE__NAME=gitea
|
||||
GITEA__DATABASE__USER=gitea
|
||||
#GITEA__DATABASE__PASSWD=secrets.sops.env
|
||||
|
||||
GITEA__MAILER__ENABLED=true
|
||||
GITEA__MAILER__FROM=gitea@catmedved.com
|
||||
GITEA__MAILER__PROTOCOL=smtp+starttls
|
||||
GITEA__MAILER__SMTP_PORT=587
|
||||
GITEA__MAILER__SMTP_ADDR=smtp.fastmail.com
|
||||
#GITEA__MAILER__USER=secrets.sops.env
|
||||
#GITEA__MAILER__PASSWD=secrets.sops.env
|
||||
Reference in New Issue
Block a user