Compare commits
	
		
			3 commits
		
	
	
		
			0410e844b1
			...
			dce0620365
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| dce0620365 | |||
| 323ab09238 | |||
| 3a2ffde0ab | 
					 2 changed files with 7 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -8,7 +8,7 @@ services:
 | 
			
		|||
      context: ./
 | 
			
		||||
      dockerfile: Dockerfile
 | 
			
		||||
    image: laravel-image
 | 
			
		||||
    container_name: laravel-app
 | 
			
		||||
    container_name: pedi2-app
 | 
			
		||||
    restart: unless-stopped
 | 
			
		||||
    working_dir: /var/www/
 | 
			
		||||
    volumes:
 | 
			
		||||
| 
						 | 
				
			
			@ -19,10 +19,8 @@ services:
 | 
			
		|||
 | 
			
		||||
  db:
 | 
			
		||||
    image: mysql:5.7
 | 
			
		||||
    container_name: laravel-db
 | 
			
		||||
    container_name: pedi2-db
 | 
			
		||||
    restart: unless-stopped
 | 
			
		||||
    ports:
 | 
			
		||||
      - "3306:3306"
 | 
			
		||||
    environment:
 | 
			
		||||
      MYSQL_DATABASE: ${DB_DATABASE}
 | 
			
		||||
      MYSQL_ROOT_PASSWORD: ${DB_PASSWORD}
 | 
			
		||||
| 
						 | 
				
			
			@ -39,7 +37,7 @@ services:
 | 
			
		|||
 | 
			
		||||
  nginx:
 | 
			
		||||
    image: nginx:alpine
 | 
			
		||||
    container_name: laravel-nginx
 | 
			
		||||
    container_name: pedi2-nginx
 | 
			
		||||
    restart: unless-stopped
 | 
			
		||||
    ports:
 | 
			
		||||
      - ${NGINX_PORT}:80
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -13,6 +13,10 @@ use Symfony\Component\HttpKernel\Exception\HttpException;
 | 
			
		|||
|
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
if (App::environment('production')) {
 | 
			
		||||
    URL::forceScheme('https');
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
Route::get('/', 'ProductoController@index')->name('productos');
 | 
			
		||||
 | 
			
		||||
Auth::routes(['register' => false]);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue