Skip to content
Snippets Groups Projects
Commit 756fa325 authored by h4-rahman's avatar h4-rahman
Browse files

Updated postgres version and fixed entrypoint.sh to run django app on port 8000

parent 0299abd4
No related branches found
No related tags found
1 merge request!13Updated postgres version and fixed entrypoint.sh to run django app on port 8000
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
version: '3.8' version: '3.8'
services: services:
db: db:
image: postgres:13 image: postgres:16.1
volumes: volumes:
- postgres_data:/var/lib/postgresql/data - postgres_data:/var/lib/postgresql/data
restart: unless-stopped restart: unless-stopped
......
...@@ -7,4 +7,4 @@ python manage.py makemigrations ...@@ -7,4 +7,4 @@ python manage.py makemigrations
echo "Applying migrations" echo "Applying migrations"
python manage.py migrate python manage.py migrate
python manage.py runserver 0.0.0.0:5432 python manage.py runserver 0.0.0.0:8000
\ No newline at end of file \ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment