From 76427c9f130adb90f90cccc84b92dd49f5147ed5 Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 11 Jan 2024 15:25:08 -0500 Subject: Docker container version (#39) * + Dockerfile and compose file + Scripts dir and startup script + Build image npm script * * Moves env to file * + Tags image with info from package.json * Moves image creation to script * Updates README * Update README.md Co-authored-by: Sebastien Castiel --------- Co-authored-by: Maxime Jacob Co-authored-by: Sebastien Castiel --- start-local-db.sh | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100755 start-local-db.sh (limited to 'start-local-db.sh') diff --git a/start-local-db.sh b/start-local-db.sh deleted file mode 100755 index c97173d..0000000 --- a/start-local-db.sh +++ /dev/null @@ -1,11 +0,0 @@ -result=$(docker ps | grep postgres) -if [ $? -eq 0 ]; -then - echo "postgres is already running, doing nothing" -else - echo "postgres is not running, starting it" - docker rm postgres --force - mkdir -p postgres-data - docker run --name postgres -d -p 5432:5432 -e POSTGRES_PASSWORD=1234 -v ./postgres-data:/var/lib/postgresql/data postgres - sleep 5 # Wait for postgres to start -fi -- cgit v1.3