Authentik Security, Part Two
Install Authentik
Steps performed on AUTHENTIK-01
sudo mkdir /apps
sudo mkdir /apps/authentik
sudo wget https://goauthentik.io/docker-compose.yml
sudo apt install pwgen
sudo ech "PG_PASS=$(pwgen -s 40 1)" >> .env
That's throwing out errors at me. I'm guessing it's a permission issue.
sudo chown david:david /apps
sudo chown david:david /apps/authentik
sudo echo "PG_PASS=$(pwgen -s 40 1)" >> .env
echo "AUTHENTIK_SECRET_KEY=$(pwgen -s 50 1)" >> .env
echo "AUTHENTIK_ERROR_REPORTING_ENABLED=true" >> .env
nano .env
# SMTP Host Emails are sent to
AUTHENTIK_EMAIL__HOST=
AUTHENTIK_EMAIL__PORT=
# Optionally authenticate (don't add quotation marks to your password)
AUTHENTIK_EMAIL__USERNAME=
AUTHENTIK_EMAIL__PASSWORD=
# 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=
- I saved the
.env
file sudo docker-compose pull
sudo docker-compose up -d
I check in Firefox and browse to http://authentik.domain.local:9000
successfully. The installation notes I should be greeted by setting up a password for the user akadmin
, but instead I am just at a login screen. I end up having to go to http://authentik.domain.local:9000/if/flow/initial-setup
which asks me for an email address and password. I fill them out and I am now in Authentik! This is a good place for me to pause today since I don't have much time left.