Book / docker-compose.yml
anwesh2410's picture
Upload 39 files
54862ee verified
raw
history blame contribute delete
357 Bytes
version: '3.8'
services:
web:
build: .
ports:
- "5000:5000"
volumes:
- ./src:/src/app
# env_file:
# - .env
depends_on:
- mongo
mongo:
image: mongo:latest
restart: always
ports:
- "27017:27017" # Correctly formatted as a list
volumes:
- mongo_data:/data/db
volumes:
mongo_data: