(Grav GitSync) Automatic Commit from RealStickman
This commit is contained in:
parent
53a84e3ba1
commit
d4b4523772
@ -15,7 +15,7 @@ https://github.com/containers/podman/blob/main/docs/tutorials/socket_activation.
|
|||||||
|
|
||||||
### Network and Pod
|
### Network and Pod
|
||||||
|
|
||||||
[prism classes="language-bash command-line" cl-prompt="#"]
|
[prism classes="language-sh command-line" cl-prompt="#"]
|
||||||
podman network create net_authentik
|
podman network create net_authentik
|
||||||
podman pod create --name pod_authentik --network net_authentik -p 9000:9000 -p 9443:9443
|
podman pod create --name pod_authentik --network net_authentik -p 9000:9000 -p 9443:9443
|
||||||
[/prism]
|
[/prism]
|
||||||
@ -32,9 +32,9 @@ podman pod create --name pod_authentik --network net_authentik -p 9000:9000 -p 9
|
|||||||
[prism classes="language-sh command-line" cl-prompt="#"]
|
[prism classes="language-sh command-line" cl-prompt="#"]
|
||||||
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=$DBUSER \
|
||||||
-e POSTGRES_PASSWORD={DB PASS} \
|
-e POSTGRES_PASSWORD=$DBPASS \
|
||||||
-e POSTGRES_DB={DB NAME} \
|
-e POSTGRES_DB=$DBNAME \
|
||||||
-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
|
||||||
|
Loading…
Reference in New Issue
Block a user