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: