feat: docker & docker-compose files added

This commit is contained in:
Efrain Marin
2025-06-19 16:57:20 -06:00
parent 3511043209
commit 4072825d7b
2 changed files with 68 additions and 0 deletions

39
docker-compose.yml Normal file
View File

@@ -0,0 +1,39 @@
version: '3.8'
services:
thalos-dal:
image: thalos-dal:latest
build:
context: .
dockerfile: Dockerfile
ports:
- "5000:85" # Expose only if you need access to this API externally
environment:
- ASPNETCORE_ENVIRONMENT=Production
- ConnectionStrings__MongoDB=mongodb://admin_agile:Admin%40agileWebs@mongodb:27017/?authMechanism=SCRAM-SHA-256
- ConnectionStrings__Redis=redis:6379
depends_on:
- mongodb
- redis
networks:
- thalos-net
mongodb:
image: mongo:7
container_name: thalos-mongodb
volumes:
- mongo-data:/data/db
networks:
- thalos-net
redis:
image: redis:7
container_name: thalos-redis
networks:
- thalos-net
volumes:
mongo-data:
networks:
thalos-net: