From 78bc7bca528fec6a44690d05dae0729fc63ee671 Mon Sep 17 00:00:00 2001 From: Paul Wilde Date: Mon, 14 Nov 2022 10:31:59 +0000 Subject: [PATCH] added check in 00 to make script_cofngi if not exists --- 00-create-pod.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/00-create-pod.sh b/00-create-pod.sh index 5bab3a3..4552508 100755 --- a/00-create-pod.sh +++ b/00-create-pod.sh @@ -4,8 +4,10 @@ mkdir ./uploads ./static ./config -p chown -R 911:911 ./uploads +if [ ! -f ./script_config.sh ]; then + cp ./script_config_sample.sh ./script_config.sh +fi + podman pod create \ --name rebased-pod \ - -p 5000:5000 \ - -p 4000:4000 - + -p 5000:5000