feat(telegram-bot): added docker-compose.yaml for dev

This commit is contained in:
Neko Ayaka
2025-02-17 19:00:48 +08:00
parent 1c6d6af2d8
commit 2077f608f5
2 changed files with 8 additions and 0 deletions
+1
View File
@@ -2,6 +2,7 @@
.trash/
.DS_Store
**/.obsidian/
.postgres
.idea
.nuxt
@@ -8,3 +8,10 @@ services:
environment:
POSTGRES_DATABASE: postgres
POSTGRES_PASSWORD: '123456'
volumes:
- ./.postgres/data:/var/lib/postgresql/data
healthcheck:
test: [CMD-SHELL, pg_isready -d $$POSTGRES_DB -U $$POSTGRES_USER]
interval: 10s
timeout: 5s
retries: 5