(Grav GitSync) Automatic Commit from RealStickman
This commit is contained in:
parent
79695cbf95
commit
04259851a5
@ -15,10 +15,10 @@ https://github.com/containers/podman/blob/main/docs/tutorials/socket_activation.
|
|||||||
|
|
||||||
### Network and Pod
|
### Network and Pod
|
||||||
|
|
||||||
[prism classes="language-sh command-line" cl-prompt="#"]
|
[shroot]
|
||||||
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]
|
[/shroot]
|
||||||
|
|
||||||
#### Port Mappings
|
#### Port Mappings
|
||||||
|
|
||||||
@ -29,7 +29,7 @@ podman pod create --name pod_authentik --network net_authentik -p 9000:9000 -p 9
|
|||||||
|
|
||||||
### Database
|
### Database
|
||||||
|
|
||||||
[sh-root]
|
[shroot]
|
||||||
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,7 +38,7 @@ 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
|
||||||
[/sh-root]
|
[/shroot]
|
||||||
|
|
||||||
### Redis
|
### Redis
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user