Check if this also works

This commit is contained in:
RealStickman 2023-06-02 17:55:20 +02:00
parent 6438fbbf39
commit f6c35976c7

View File

@ -30,6 +30,8 @@ podman pod create --name pod_authentik --network net_authentik -p 9000:9000 -p 9
### Database ### Database
[shroot] [shroot]
```sh
podman run --name authentik_db \ podman run --name authentik_db \
-e PGDATA=/var/lib/postgresql/data/pgdata \ -e PGDATA=/var/lib/postgresql/data/pgdata \
-e POSTGRES_USER=${DB_USER} \ -e POSTGRES_USER=${DB_USER} \
@ -38,11 +40,14 @@ podman run --name authentik_db \
-v /mnt/authentik_db:/var/lib/postgresql/data \ -v /mnt/authentik_db:/var/lib/postgresql/data \
--pod pod_authentik \ --pod pod_authentik \
-d docker.io/postgres:15 -d docker.io/postgres:15
```
[/shroot] [/shroot]
### Redis ### Redis
[shroot] [shroot]
```sh ```sh
podman run --name authentik_redis \ podman run --name authentik_redis \
-v /mnt/authentik_redis:/data \ -v /mnt/authentik_redis:/data \
@ -50,6 +55,7 @@ podman run --name authentik_redis \
-d docker.io/redis:7 \ -d docker.io/redis:7 \
redis-server --save 60 1 --loglevel warning redis-server --save 60 1 --loglevel warning
``` ```
[/shroot] [/shroot]
### Application Server ### 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` Generate `PG_PASS` and `AUTHENTIK_SECRET_KEY` using `openssl rand -base64 40`
[shroot] [shroot]
```sh ```sh
podman run --name authentik_server \ podman run --name authentik_server \
-e PG_PASS={RANDOM PASS} \ -e PG_PASS={RANDOM PASS} \
@ -88,11 +95,13 @@ podman run --name authentik_server \
-d ghcr.io/goauthentik/server:2023.2 \ -d ghcr.io/goauthentik/server:2023.2 \
server server
``` ```
[/shroot] [/shroot]
### Application Worker ### Application Worker
[shroot] [shroot]
```sh ```sh
podman run --name authentik_worker \ podman run --name authentik_worker \
-e PG_PASS={RANDOM PASS} \ -e PG_PASS={RANDOM PASS} \
@ -124,6 +133,7 @@ podman run --name authentik_worker \
-d ghcr.io/goauthentik/server:2023.2 \ -d ghcr.io/goauthentik/server:2023.2 \
worker worker
``` ```
[/shroot] [/shroot]
### Nginx ### 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) > [https://goauthentik.io/docs/outposts/manual-deploy-docker-compose](https://goauthentik.io/docs/outposts/manual-deploy-docker-compose)
[shroot] [shroot]
```sh ```sh
podman run --name authentik_ldap -p 389:3389 -p 636:6636 \ podman run --name authentik_ldap -p 389:3389 -p 636:6636 \
-e AUTHENTIK_HOST=https://{AUTHENTIK URL} \ -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} \ -e AUTHENTIK_TOKEN={GENERATED TOKEN} \
-d ghcr.io/goauthentik/ldap:2023.2 -d ghcr.io/goauthentik/ldap:2023.2
``` ```
[/shroot] [/shroot]