mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-30 05:01:10 -04:00 
			
		
		
		
	* updated Dockerfile and docker-compose.yml, replaced cron with ofelia and setup.sh with automatically executed startup.sh * fixed permissions by setting them in setup-script
		
			
				
	
	
		
			17 lines
		
	
	
		
			295 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			295 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/sh
 | |
| 
 | |
| chmod 775 /var/www/ -R
 | |
| chown 1000:33 /var/www -R
 | |
| 
 | |
| if [ ! -f ".env" ]; then
 | |
|     cp .env.example .env
 | |
|     echo "created .env from .env.example"
 | |
| fi
 | |
| 
 | |
| composer install --no-interaction --prefer-dist --optimize-autoloader
 | |
| 
 | |
| php artisan storage:link || true
 | |
| php artisan key:generate
 | |
| 
 | |
| php-fpm
 |