feat(telegram-bot): added docker-compose.yaml for dev
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user