Files
ktm-booking-bot/scripts/dev_postgres_docker.sh
Samuel Pua 7cf10b07d4
Some checks failed
ktm-booking-bot/ktm-booking-bot/pipeline/head Something is wrong with the build of this commit
Feat(ktm-booking): Initial commit
2022-09-27 02:50:07 +08:00

10 lines
281 B
Bash
Executable File

docker rm -f dev_postgres
docker run -d \
-v `pwd`/_docker_mnt/_postgres_data:/var/lib/postgresql/data \
-e POSTGRES_USER=testuser \
-e POSTGRES_PASSWORD=testpassword \
-e POSTGRES_DB=testdb \
--name dev_postgres \
-p 127.0.0.1:5432:5432 \
postgres:14