Updated Dockerfile and docker-compose

This commit is contained in:
2025-04-27 00:23:26 -04:00
parent 281d35d63a
commit 2bfec1640f
5 changed files with 28 additions and 108 deletions

21
docker-compose.yml Normal file
View File

@@ -0,0 +1,21 @@
version: '3.8'
services:
backend:
build: .
ports:
- "3069:3069"
depends_on:
- mongo
environment:
- MONGODB_URI=mongodb://mongo:27017/urge
mongo:
image: mongo:latest
ports:
- "27017:27017"
volumes:
- mongo-data:/data/db
volumes:
mongo-data: