This commit is contained in:
mahek 2025-07-25 17:11:07 +02:00
parent 1f4193f9c0
commit a49db6e4ae
9 changed files with 228 additions and 18 deletions

View file

@ -3,7 +3,9 @@ version: '3.8'
services:
# Service MongoDB
mongodb:
image: mongo:latest
build:
context: ./mongodb
dockerfile: Dockerfile
container_name: managerr-mongodb
restart: unless-stopped
volumes:
@ -16,11 +18,6 @@ services:
- "27017:27017"
networks:
- managerr-network
healthcheck:
test: ["CMD", "mongo", "--eval", "db.adminCommand('ping')"]
interval: 10s
timeout: 10s
retries: 5
# Service Backend
backend: