From f6c35976c73f53f639ba41ee77385faf1c520246 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Fri, 2 Jun 2023 17:55:20 +0200 Subject: [PATCH] Check if this also works --- pages/02.linux/authentik/default.en.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pages/02.linux/authentik/default.en.md b/pages/02.linux/authentik/default.en.md index 9e7d370..ae2ab68 100644 --- a/pages/02.linux/authentik/default.en.md +++ b/pages/02.linux/authentik/default.en.md @@ -30,6 +30,8 @@ podman pod create --name pod_authentik --network net_authentik -p 9000:9000 -p 9 ### Database [shroot] + +```sh podman run --name authentik_db \ -e PGDATA=/var/lib/postgresql/data/pgdata \ -e POSTGRES_USER=${DB_USER} \ @@ -38,11 +40,14 @@ podman run --name authentik_db \ -v /mnt/authentik_db:/var/lib/postgresql/data \ --pod pod_authentik \ -d docker.io/postgres:15 +``` + [/shroot] ### Redis [shroot] + ```sh podman run --name authentik_redis \ -v /mnt/authentik_redis:/data \ @@ -50,6 +55,7 @@ podman run --name authentik_redis \ -d docker.io/redis:7 \ redis-server --save 60 1 --loglevel warning ``` + [/shroot] ### Application Server @@ -59,6 +65,7 @@ https://goauthentik.io/docs/installation/docker-compose Generate `PG_PASS` and `AUTHENTIK_SECRET_KEY` using `openssl rand -base64 40` [shroot] + ```sh podman run --name authentik_server \ -e PG_PASS={RANDOM PASS} \ @@ -88,11 +95,13 @@ podman run --name authentik_server \ -d ghcr.io/goauthentik/server:2023.2 \ server ``` + [/shroot] ### Application Worker [shroot] + ```sh podman run --name authentik_worker \ -e PG_PASS={RANDOM PASS} \ @@ -124,6 +133,7 @@ podman run --name authentik_worker \ -d ghcr.io/goauthentik/server:2023.2 \ worker ``` + [/shroot] ### Nginx @@ -191,6 +201,7 @@ Outposts are available as OCI-containers and can be deployed like any other cont > [https://goauthentik.io/docs/outposts/manual-deploy-docker-compose](https://goauthentik.io/docs/outposts/manual-deploy-docker-compose) [shroot] + ```sh podman run --name authentik_ldap -p 389:3389 -p 636:6636 \ -e AUTHENTIK_HOST=https://{AUTHENTIK URL} \ @@ -198,4 +209,5 @@ podman run --name authentik_ldap -p 389:3389 -p 636:6636 \ -e AUTHENTIK_TOKEN={GENERATED TOKEN} \ -d ghcr.io/goauthentik/ldap:2023.2 ``` + [/shroot]