From 756fa32591933fafcbd7597ac7828a194cc6a446 Mon Sep 17 00:00:00 2001
From: h4-rahman <hamidur2.rahman@live.uwe.ac.uk>
Date: Tue, 5 Mar 2024 12:34:24 +0000
Subject: [PATCH] Updated postgres version and fixed entrypoint.sh to run
 django app on port 8000

---
 myproject/docker-compose.yml | 2 +-
 myproject/entrypoint.sh      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/myproject/docker-compose.yml b/myproject/docker-compose.yml
index f82138c..0c8ec02 100644
--- a/myproject/docker-compose.yml
+++ b/myproject/docker-compose.yml
@@ -47,7 +47,7 @@
 version: '3.8'
 services:
   db:
-    image: postgres:13
+    image: postgres:16.1
     volumes:
       - postgres_data:/var/lib/postgresql/data
     restart: unless-stopped
diff --git a/myproject/entrypoint.sh b/myproject/entrypoint.sh
index 2087de4..e882418 100644
--- a/myproject/entrypoint.sh
+++ b/myproject/entrypoint.sh
@@ -7,4 +7,4 @@ python manage.py makemigrations
 echo "Applying migrations"
 python manage.py migrate
 
-python manage.py runserver 0.0.0.0:5432
\ No newline at end of file
+python manage.py runserver 0.0.0.0:8000
\ No newline at end of file
-- 
GitLab