fix(ci): connect to postgres service by hostname, not localhost
This commit is contained in:
@@ -26,8 +26,8 @@ jobs:
|
|||||||
--health-retries 5
|
--health-retries 5
|
||||||
|
|
||||||
env:
|
env:
|
||||||
DATABASE_URL: postgresql+asyncpg://postgres:postgres@localhost:5432/resolutionflow_test
|
DATABASE_URL: postgresql+asyncpg://postgres:postgres@postgres:5432/resolutionflow_test
|
||||||
DATABASE_URL_SYNC: postgresql://postgres:postgres@localhost:5432/resolutionflow_test
|
DATABASE_URL_SYNC: postgresql://postgres:postgres@postgres:5432/resolutionflow_test
|
||||||
SECRET_KEY: ci-test-secret-key-not-for-production
|
SECRET_KEY: ci-test-secret-key-not-for-production
|
||||||
DEBUG: "true"
|
DEBUG: "true"
|
||||||
APP_NAME: ResolutionFlow
|
APP_NAME: ResolutionFlow
|
||||||
@@ -114,8 +114,8 @@ jobs:
|
|||||||
--health-retries 5
|
--health-retries 5
|
||||||
|
|
||||||
env:
|
env:
|
||||||
PLAYWRIGHT_DATABASE_URL: postgresql+asyncpg://postgres:postgres@127.0.0.1:5432/resolutionflow_test
|
PLAYWRIGHT_DATABASE_URL: postgresql+asyncpg://postgres:postgres@postgres:5432/resolutionflow_test
|
||||||
PLAYWRIGHT_DATABASE_URL_SYNC: postgresql://postgres:postgres@127.0.0.1:5432/resolutionflow_test
|
PLAYWRIGHT_DATABASE_URL_SYNC: postgresql://postgres:postgres@postgres:5432/resolutionflow_test
|
||||||
PLAYWRIGHT_API_ORIGIN: http://127.0.0.1:8000
|
PLAYWRIGHT_API_ORIGIN: http://127.0.0.1:8000
|
||||||
PLAYWRIGHT_BASE_URL: http://127.0.0.1:4173
|
PLAYWRIGHT_BASE_URL: http://127.0.0.1:4173
|
||||||
PLAYWRIGHT_SECRET_KEY: ci-playwright-secret-key
|
PLAYWRIGHT_SECRET_KEY: ci-playwright-secret-key
|
||||||
|
|||||||
Reference in New Issue
Block a user