Feat: zhopa
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2024-12-27 20:03:27 +03:00
parent b29c3185d4
commit 2ca8e7eb46
2 changed files with 8 additions and 2 deletions

View File

@@ -6,7 +6,6 @@ steps:
- name: build
image: docker:latest
commands:
- echo $${POSTGRES_HOST}
- docker build -t aboba:latest .
volumes:
- /var/run/docker.sock:/var/run/docker.sock

View File

@@ -9,6 +9,13 @@ services:
- bot_network
depends_on:
- db
environment:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres}
POSTGRES_USER: ${POSTGRES_USER:-postgres}
POSTGRES_DB: ${POSTGRES_DB:-postgres}
POSTGRES_HOST: ${POSTGRES_HOST:-db}
POSTGRES_PORT: ${POSTGRES_PORT:-5432}
BOT_TOKEN: ${BOT_TOKEN:-token}
db:
image: postgres:17-alpine
@@ -35,7 +42,7 @@ services:
networks:
bot_network:
driver: overlay
driver: bridge
volumes:
postgres_data: