mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Force TCP for postgres
This commit is contained in:
parent
48cbd3be97
commit
c66dddc03f
1
.github/workflows/postgresql.yaml
vendored
1
.github/workflows/postgresql.yaml
vendored
@ -15,7 +15,6 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
POSTGRES_USER: inventree
|
POSTGRES_USER: inventree
|
||||||
POSTGRES_PASSWORD: password
|
POSTGRES_PASSWORD: password
|
||||||
POSTGRES_DB: inventree_test_db
|
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
|
|
||||||
|
@ -12,7 +12,8 @@ if 'test' in sys.argv:
|
|||||||
# Ensure postgresql backend is being used
|
# Ensure postgresql backend is being used
|
||||||
'ENGINE': 'django.db.backends.postgresql',
|
'ENGINE': 'django.db.backends.postgresql',
|
||||||
'NAME': 'inventree_test_db',
|
'NAME': 'inventree_test_db',
|
||||||
'USER': 'postgres',
|
'USER': 'inventree',
|
||||||
'PASSWORD': 'password',
|
'PASSWORD': 'password',
|
||||||
|
'HOST': '127.0.0.1',
|
||||||
'PORT': '5432'
|
'PORT': '5432'
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user