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_PASSWORD: app_ci_password
|
||||
POSTGRES_DB: app
|
||||
ports: ["5432:5432"]
|
||||
options: >-
|
||||
--health-cmd "pg_isready -U app_user -d app"
|
||||
--health-interval 5s --health-timeout 5s --health-retries 10
|
||||
redis:
|
||||
image: redis:7-alpine
|
||||
ports: ["6379:6379"]
|
||||
options: >-
|
||||
--health-cmd "redis-cli ping"
|
||||
--health-interval 5s --health-timeout 5s --health-retries 10
|
||||
|
||||
env:
|
||||
DATABASE_URL: postgres://app_user:app_ci_password@localhost:5432/app
|
||||
REDIS_URL: redis://localhost:6379
|
||||
DATABASE_URL: postgres://app_user:app_ci_password@postgres:5432/app
|
||||
REDIS_URL: redis://redis:6379
|
||||
AAMOS_MODE: mock
|
||||
S3_MODE: mock
|
||||
EMAIL_MODE: log
|
||||
|
||||
Reference in New Issue
Block a user