This commit is contained in:
2026-02-27 15:36:00 +03:00
parent ffe185c9ff
commit b394c0be68
12 changed files with 150 additions and 26 deletions

View File

@@ -19,7 +19,7 @@ services:
- ./scripts/postgres:/docker-entrypoint-initdb.d
- postgres_data:/var/lib/postgresql/data
mongo:
image: mongo:8.2.5-noble
image: mongo:8-noble
networks:
- bot
ports:
@@ -31,8 +31,8 @@ services:
healthcheck:
test: [ "CMD", "mongosh", "--quiet", "admin", "--eval", "quit(db.runCommand({ ping: 1 }).ok ? 0 : 2)" ]
interval: 10s
timeout: 10s
retries: 5
timeout: 10s
start_period: 10s
volumes:
- ./scripts/mongo:/docker-entrypoint-initdb.d
@@ -58,4 +58,4 @@ networks:
volumes:
postgres_data:
mongo_data:
redis_data:
redis_data: