Authentik Security, Part Two
Install Authentik
Steps performed on AUTHENTIK-01
sudo mkdir /appssudo mkdir /apps/authentiksudo wget https://goauthentik.io/docker-compose.ymlsudo apt install pwgensudo 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 /appssudo chown david:david /apps/authentiksudo echo "PG_PASS=$(pwgen -s 40 1)" >> .envecho "AUTHENTIK_SECRET_KEY=$(pwgen -s 50 1)" >> .envecho "AUTHENTIK_ERROR_REPORTING_ENABLED=true" >> .envnano .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
.envfile sudo docker-compose pullsudo 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.