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]
|
[database]
|
||||||
host = "0.0.0.0"
|
host = "postgres"
|
||||||
port = 5432
|
port = 5432
|
||||||
username = "lysand"
|
username = "lysand"
|
||||||
password = "lysand"
|
password = "lysand"
|
||||||
|
|
|
||||||
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
|
|
@ -21,6 +21,10 @@ jobs:
|
||||||
POSTGRES_PASSWORD: lysand
|
POSTGRES_PASSWORD: lysand
|
||||||
volumes:
|
volumes:
|
||||||
- lysand-data:/var/lib/postgresql/data
|
- lysand-data:/var/lib/postgresql/data
|
||||||
|
options: --health-cmd pg_isready
|
||||||
|
--health-interval 10s
|
||||||
|
--health-timeout 5s
|
||||||
|
--health-retries 5
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
security-events: write
|
security-events: write
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue