ci: service-containrar via namn, ta bort host-port-krock
CI / Typecheck, test & build (push) Failing after 13s
CI / Typecheck, test & build (push) Failing after 13s
This commit is contained in:
@@ -24,20 +24,18 @@ jobs:
|
|||||||
POSTGRES_USER: app_user
|
POSTGRES_USER: app_user
|
||||||
POSTGRES_PASSWORD: app_ci_password
|
POSTGRES_PASSWORD: app_ci_password
|
||||||
POSTGRES_DB: app
|
POSTGRES_DB: app
|
||||||
ports: ["5432:5432"]
|
|
||||||
options: >-
|
options: >-
|
||||||
--health-cmd "pg_isready -U app_user -d app"
|
--health-cmd "pg_isready -U app_user -d app"
|
||||||
--health-interval 5s --health-timeout 5s --health-retries 10
|
--health-interval 5s --health-timeout 5s --health-retries 10
|
||||||
redis:
|
redis:
|
||||||
image: redis:7-alpine
|
image: redis:7-alpine
|
||||||
ports: ["6379:6379"]
|
|
||||||
options: >-
|
options: >-
|
||||||
--health-cmd "redis-cli ping"
|
--health-cmd "redis-cli ping"
|
||||||
--health-interval 5s --health-timeout 5s --health-retries 10
|
--health-interval 5s --health-timeout 5s --health-retries 10
|
||||||
|
|
||||||
env:
|
env:
|
||||||
DATABASE_URL: postgres://app_user:app_ci_password@localhost:5432/app
|
DATABASE_URL: postgres://app_user:app_ci_password@postgres:5432/app
|
||||||
REDIS_URL: redis://localhost:6379
|
REDIS_URL: redis://redis:6379
|
||||||
AAMOS_MODE: mock
|
AAMOS_MODE: mock
|
||||||
S3_MODE: mock
|
S3_MODE: mock
|
||||||
EMAIL_MODE: log
|
EMAIL_MODE: log
|
||||||
|
|||||||
Reference in New Issue
Block a user