feat: docker & docker-compose files added
This commit is contained in:
		
							
								
								
									
										39
									
								
								docker-compose.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								docker-compose.yml
									
									
									
									
									
										Normal 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: | ||||
		Reference in New Issue
	
	Block a user
	 Efrain Marin
					Efrain Marin