aboutsummaryrefslogtreecommitdiff
path: root/create_db.sh
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2025-08-21 12:54:52 +0000
committerAnhgelus Morhtuuzh <william@herges.fr>2025-08-21 12:54:52 +0000
commit166aadabfb37a1a565bb8d46241682c709b1c4db (patch)
treebc77b8e3f7a7599ad272fcc3c0032f3258ff7cd7 /create_db.sh
parent026abcc07a57eeda8a08a746ad2b664e956360f3 (diff)
parent15448aa0014e1473582227e2ea301df7ccfb9560 (diff)
Merge pull request '[Refactor] Config command' (#1) from refactor/config-command into main
Reviewed-on: https://git.anhgelus.world/anhgelus/les-copaings-bot/pulls/1
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