mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-31 05:31:10 -04:00 
			
		
		
		
	Initial Docker support
This commit adds: 1. A Dockerfile that runs PHP 7.2 FPM on Alpine Linux 2. A example docker-compose file that simplifies deployment
This commit is contained in:
		
							
								
								
									
										18
									
								
								docker-compose.yml.example
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								docker-compose.yml.example
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,18 @@ | ||||
| version: '3.1' | ||||
|  | ||||
| services: | ||||
|  | ||||
|   nginx: | ||||
|     image: nginx  | ||||
|     expose: | ||||
|       - 80 | ||||
|     volumes: | ||||
|       - ./nginx.conf:/etc/nginx/nginx.conf:ro | ||||
|     restart: always  | ||||
|      | ||||
|   php: | ||||
|     build: . | ||||
|     expose: | ||||
|       - 9000 | ||||
|     restart: always | ||||
|  | ||||
		Reference in New Issue
	
	Block a user