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
[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]