Compare commits

..

3 Commits

Author SHA1 Message Date
17a1e4bb36 Feat: change deployment
All checks were successful
ci/woodpecker/push/pipeline Pipeline was successful
2025-01-22 13:25:45 +03:00
0faff426a7 Feat: update woodpecker
All checks were successful
ci/woodpecker/push/pipeline Pipeline was successful
2025-01-22 12:59:35 +03:00
970a0e6fd4 Hotfix: pg_isready healthcheck
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2025-01-20 15:27:31 +03:00
2 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,5 @@
when:
- branch: [master, deploy]
event: [push, manual]
steps:
- name: build
image: docker:latest
@@ -24,6 +23,7 @@ steps:
environment:
ENV_FILE:
from_secret: ENV_FILE
depends_on: [build]
depends_on: build
when:
- branch: deploy
- event: manual

View File

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