mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 02:14:03 +00:00
Revert ci.yml changes
This commit is contained in:
parent
6496f77415
commit
338d6f1151
1 changed files with 7 additions and 17 deletions
24
.github/workflows/ci.yml
vendored
24
.github/workflows/ci.yml
vendored
|
|
@ -45,24 +45,14 @@ jobs:
|
|||
|
||||
services:
|
||||
postgres:
|
||||
image: 'postgres:latest'
|
||||
ports:
|
||||
- '5432/tcp'
|
||||
image: postgres:latest
|
||||
env:
|
||||
POSTGRES_DB: main
|
||||
POSTGRES_USER: 'postgres'
|
||||
POSTGRES_PASSWORD: 'postgres'
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD
|
||||
- pg_isready
|
||||
- '-q'
|
||||
- '-d'
|
||||
- '${DB_DATABASE}'
|
||||
- '-U'
|
||||
- '${POSTGRES_USER}'
|
||||
retries: 3
|
||||
timeout: 5s
|
||||
POSTGRES_PASSWORD: 'postgres'
|
||||
POSTGRES_USER: 'postgres'
|
||||
POSTGRES_DB: main
|
||||
ports:
|
||||
- 5432/tcp
|
||||
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 3
|
||||
|
||||
mysql:
|
||||
image: mysql:5.7
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue