Re-init Authentik

This commit is contained in:
Joey Hafner 2022-07-06 11:27:59 -07:00
parent a9f1a378e6
commit bfb3a0d16f
2 changed files with 21 additions and 11 deletions

View File

@ -10,16 +10,16 @@ AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-nex
############## EMAIL STUFF #################
# SMTP Host Emails are sent to
AUTHENTIK_EMAIL__HOST=localhost
AUTHENTIK_EMAIL__PORT=25
AUTHENTIK_EMAIL__HOST=smtp.gmail.com
AUTHENTIK_EMAIL__PORT=465
# Optionally authenticate (don't add quotation marks to you password)
AUTHENTIK_EMAIL__USERNAME=
AUTHENTIK_EMAIL__PASSWORD=
AUTHENTIK_EMAIL__USERNAME=noreply@jafner.net
AUTHENTIK_EMAIL__PASSWORD=uqjtcryoeljweron
# Use StartTLS
AUTHENTIK_EMAIL__USE_TLS=false
AUTHENTIK_EMAIL__USE_TLS=true
# Use SSL
AUTHENTIK_EMAIL__USE_SSL=false
AUTHENTIK_EMAIL__USE_SSL=true
AUTHENTIK_EMAIL__TIMEOUT=10
# Email address authentik will send from, should have a correct @domain
AUTHENTIK_EMAIL__FROM=authentik@localhost
AUTHENTIK_EMAIL__FROM=authentik@jafner.net

View File

@ -1,10 +1,16 @@
version: '3.2'
version: '3'
services:
postgresql:
image: postgres:12-alpine
container_name: authentik_postgres
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
start_period: 20s
interval: 30s
retries: 5
timeout: 5s
networks:
- authentik
volumes:
@ -19,20 +25,24 @@ services:
redis:
image: redis:alpine
container_name: authentik_redis
healthcheck:
test: ["CMD-SHELL", "redis-cli ping | grep PONG"]
start_period: 20s
interval: 30s
retries: 5
timeout: 3s
networks:
- authentik
restart: unless-stopped
server:
image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2022.1.3}
image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2022.7.1}
container_name: authentik_authentik
networks:
authentik:
web:
aliases:
- authentik-server
#ports:
# - 9000:9000
restart: unless-stopped
command: server
environment: