mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 08:28:19 +01:00
Re-add healthcheck command
This commit is contained in:
parent
b0ddba9bc8
commit
99ab5e2e56
2
.github/config.workflow.toml
vendored
2
.github/config.workflow.toml
vendored
|
|
@ -1,5 +1,5 @@
|
|||
[database]
|
||||
host = "0.0.0.0"
|
||||
host = "postgres"
|
||||
port = 5432
|
||||
username = "lysand"
|
||||
password = "lysand"
|
||||
|
|
|
|||
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
|
|
@ -21,6 +21,10 @@ jobs:
|
|||
POSTGRES_PASSWORD: lysand
|
||||
volumes:
|
||||
- lysand-data:/var/lib/postgresql/data
|
||||
options: --health-cmd pg_isready
|
||||
--health-interval 10s
|
||||
--health-timeout 5s
|
||||
--health-retries 5
|
||||
permissions:
|
||||
contents: read
|
||||
security-events: write
|
||||
|
|
|
|||
Loading…
Reference in a new issue