Compare commits

...

5 Commits

5 changed files with 34 additions and 8 deletions

View File

@ -5,9 +5,9 @@
loop:
- /opt/stacks/gitea
- name: copy gitea compose file
ansible.builtin.copy:
src: gitea-compose.yml
- name: Template out the compose file
ansible.builtin.template:
src: gitea-compose.yml.j2
dest: /opt/stacks/gitea/compose.yml
owner: root
mode: 644

View File

@ -82,9 +82,9 @@
import_tasks: gotosocial.yml
tags: gotosocial
- name: Install grist
import_tasks: grist.yml
tags: grist
#- name: Install grist
# import_tasks: grist.yml
# tags: grist
- name: Install tasksmd
import_tasks: tasksmd.yml

View File

@ -1,2 +1,15 @@
PG_PASS={{ authentik_pg_pass }}
AUTHENTIK_SECRET_KEY={{ authentik_secret_key }}
AUTHENTIK_SECRET_KEY={{ authentik_secret_key }}
# SMTP Host Emails are sent to
AUTHENTIK_EMAIL__HOST=smtp.resend.com
AUTHENTIK_EMAIL__PORT=25
# Optionally authenticate (don't add quotation marks to your password)
AUTHENTIK_EMAIL__USERNAME=resend
AUTHENTIK_EMAIL__PASSWORD={{ resend_key }}
# Use StartTLS
AUTHENTIK_EMAIL__USE_TLS=true
# Use SSL
AUTHENTIK_EMAIL__USE_SSL=false
AUTHENTIK_EMAIL__TIMEOUT=10
# Email address authentik will send from, should have a correct @domain
AUTHENTIK_EMAIL__FROM=auth@updates.thesatelliteoflove.com

View File

@ -6,6 +6,13 @@ services:
environment:
- USER_UID=1000
- USER_GID=1000
- GITEA__mailer__ENABLED=true
- GITEA__mailer__FROM=git@updates.thesatelliteoflove.com
- GITEA__mailer__PROTOCOL=smtps
- GITEA__mailer__SMTP_ADDR=smtp.resend.com
- GITEA__mailer__SMTP_PORT=465
- GITEA__mailer__USER=resend
- GITEA__mailer__PASSWD={{ resend_key }}
restart: unless-stopped
volumes:
- gitea:/data
@ -14,7 +21,7 @@ services:
ports:
- 222:22
extra_hosts:
- 'auth.thesatelliteoflove.com:172.20.0.3'
- 'auth.thesatelliteoflove.com:172.20.0.5'
volumes:
gitea:
driver: local

View File

@ -19,6 +19,12 @@ services:
GTS_OIDC_CLIENT_ID: {{ gts_oidc_client_id }}
GTS_OIDC_CLIENT_SECRET: {{ gts_oidc_client_secret }}
GTS_OIDC_LINK_EXISTING: "true"
GTS_HTTP_CLIENT: "20s"
GTS_SMTP_HOST: "smtp.resend.com"
GTS_SMTP_PORT: "587"
GTS_SMTP_USERNAME: "resend"
GTS_SMTP_PASSWORD: {{ resend_key }}
GTS_SMTP_FROM: "social@updates.thesatelliteoflove.com"
TZ: UTC
volumes:
- gotosocial:/gotosocial/storage