Compare commits

..

5 Commits

Author SHA1 Message Date
aebb798bd5 Hotfix: fix previous hotfix
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/manual/woodpecker Pipeline failed
2025-01-20 14:44:15 +03:00
c90c35ff6e Hotfix: postgres pg_isready healthcheck fix 2
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2025-01-20 14:42:31 +03:00
2762f1d257 Hotfix: postgres pg_isready healthcheck fix 2
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2025-01-20 14:40:15 +03:00
810f63cf70 Deploy: hotfix pg_isready
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/manual/woodpecker Pipeline was successful
2025-01-20 14:36:30 +03:00
cd9b456765 Hotfix: postgres pg_isready healthcheck fix
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2025-01-20 14:36:06 +03:00
2 changed files with 8 additions and 7 deletions

View File

@@ -1,3 +1,6 @@
when:
- branch: [master, deploy]
event: [push, manual]
steps:
- name: build
image: docker:latest
@@ -10,8 +13,7 @@ steps:
ENV_FILE:
from_secret: ENV_FILE
when:
- branch: [deploy, master]
event: [push, manual]
- event: [push, manual]
- name: deploy
image: docker:latest
commands:
@@ -22,7 +24,6 @@ steps:
environment:
ENV_FILE:
from_secret: ENV_FILE
depends_on: build
depends_on: [build]
when:
- branch: deploy
event: manual
- event: manual

View File

@@ -24,7 +24,7 @@ services:
ports:
- "127.0.0.1:${POSTGRES_PORT}:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
test: ["CMD", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
interval: 10s
timeout: 5s
retries: 10