docker
This commit is contained in:
parent
1f4193f9c0
commit
a49db6e4ae
9 changed files with 228 additions and 18 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue