File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
django-postgres/django_postgres Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ def _db_options_from_env():
107107 'USER' : 'postgres' ,
108108 'PASSWORD' : 'postgres' ,
109109 'HOST' : '0.0.0.0' ,
110- 'PORT' : '6000 ' ,
110+ 'PORT' : '5432 ' ,
111111 'OPTIONS' : _db_options_from_env (),
112112 }
113113}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ services:
88 POSTGRES_USER : postgres
99 POSTGRES_PASSWORD : postgres
1010 ports :
11- - " 6000 :5432" # Map the PostgreSQL port to the host machine
11+ - " 5432 :5432" # Map the PostgreSQL port to the host machine
1212 volumes :
1313 - ./sql/init.sql:/docker-entrypoint-initdb.d/init.sql
1414
@@ -19,7 +19,7 @@ services:
1919 POSTGRES_USER : postgres
2020 POSTGRES_PASSWORD : postgres
2121 ports :
22- - " 6000 :5432"
22+ - " 5432 :5432"
2323 volumes :
2424 - pgdata_ssl:/var/lib/postgresql/data
2525 - ./sql/enable-ssl.sh:/docker-entrypoint-initdb.d/enable-ssl.sh:ro
You can’t perform that action at this time.
0 commit comments