diff --git a/haikyDB/.env b/haikyDB/.env new file mode 100644 index 0000000..64be816 --- /dev/null +++ b/haikyDB/.env @@ -0,0 +1,3 @@ +POSTGRES_DB=haiky +POSTGRES_USER=haiky +POSTGRES_PASSWORD=xieng7Seih \ No newline at end of file diff --git a/haikyDB/docker-compose.yml b/haikyDB/docker-compose.yml new file mode 100644 index 0000000..149a023 --- /dev/null +++ b/haikyDB/docker-compose.yml @@ -0,0 +1,13 @@ +version: "3.8" + +services: + postgres: + image: postgres:latest + container_name: haikydb + restart: always + env_file: + - .env + ports: + - "15432:5432" + volumes: + - ${PWD}/haikydb-data:/var/lib/postgresql/data