ci(Dev): Using docker to serve django and vue on same host.
This commit is contained in:
		
							
								
								
									
										19
									
								
								docker-compose.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								docker-compose.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | ||||
| services: | ||||
|   nginx: | ||||
|     build: | ||||
|       context: ./ | ||||
|       dockerfile: nginx.Dockerfile | ||||
|     ports: | ||||
|       - "7000:80" | ||||
|     volumes: | ||||
|       - ./nginx.conf:/etc/nginx/conf.d/default.conf | ||||
|       - ./tienda_ilusion/don_confiao/static/frontend:/var/www/frontend/ | ||||
|   django: | ||||
|     build: | ||||
|       context: ./ | ||||
|       dockerfile: django.Dockerfile | ||||
|     volumes: | ||||
|       - ./tienda_ilusion:/app/ | ||||
|     ports: | ||||
|       - 7001:9090 | ||||
|    | ||||
		Reference in New Issue
	
	Block a user