aboutsummaryrefslogtreecommitdiff
path: root/create_db.sh
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2025-08-21 13:47:30 +0200
committerAnhgelus Morhtuuzh <william@herges.fr>2025-08-21 13:47:30 +0200
commit1975321016e56a3cdf5b3ce27602501d922c3b73 (patch)
tree4c0826749c4bf764cbd5be648a8904fde4c424ae /create_db.sh
parentebab5cd09f73cd68089f59a68431bbc283fba30b (diff)
build(dev): run db in podman
Diffstat (limited to 'create_db.sh')
-rw-r--r--create_db.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/create_db.sh b/create_db.sh
new file mode 100644
index 0000000..b098405
--- /dev/null
+++ b/create_db.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/bash
+
+podman network create db
+podman run -p 5432:5432 --rm --network db --name postgres --env-file .env -v ./data:/var/lib/postgres/data -d postgres:alpine
+podman run -p 8080:8080 --rm --network db --name adminer -d adminer \ No newline at end of file