feat(forge): add postgresql instance
This commit is contained in:
parent
9a068d849d
commit
b4a349bd39
1 changed files with 10 additions and 0 deletions
|
@ -20,6 +20,16 @@ podman pod create \
|
||||||
--replace \
|
--replace \
|
||||||
"code-forge"
|
"code-forge"
|
||||||
|
|
||||||
|
# Start app database.
|
||||||
|
|
||||||
|
podman run \
|
||||||
|
-td \
|
||||||
|
--pod "code-forge" \
|
||||||
|
--name "code-forge_db" \
|
||||||
|
-v code-forge_db:/var/lib/postgresql/data:Z \
|
||||||
|
--replace \
|
||||||
|
postgres:16.2
|
||||||
|
|
||||||
# Start webapp.
|
# Start webapp.
|
||||||
|
|
||||||
podman run \
|
podman run \
|
||||||
|
|
Reference in a new issue