Compare commits

..

No commits in common. "dce06203654cacc175a205955df04ca3a591eb03" and "0410e844b1f78999be67f00b073b029b53c52986" have entirely different histories.

2 changed files with 5 additions and 7 deletions

View file

@ -8,7 +8,7 @@ services:
context: ./ context: ./
dockerfile: Dockerfile dockerfile: Dockerfile
image: laravel-image image: laravel-image
container_name: pedi2-app container_name: laravel-app
restart: unless-stopped restart: unless-stopped
working_dir: /var/www/ working_dir: /var/www/
volumes: volumes:
@ -19,8 +19,10 @@ services:
db: db:
image: mysql:5.7 image: mysql:5.7
container_name: pedi2-db container_name: laravel-db
restart: unless-stopped restart: unless-stopped
ports:
- "3306:3306"
environment: environment:
MYSQL_DATABASE: ${DB_DATABASE} MYSQL_DATABASE: ${DB_DATABASE}
MYSQL_ROOT_PASSWORD: ${DB_PASSWORD} MYSQL_ROOT_PASSWORD: ${DB_PASSWORD}
@ -37,7 +39,7 @@ services:
nginx: nginx:
image: nginx:alpine image: nginx:alpine
container_name: pedi2-nginx container_name: laravel-nginx
restart: unless-stopped restart: unless-stopped
ports: ports:
- ${NGINX_PORT}:80 - ${NGINX_PORT}:80

View file

@ -13,10 +13,6 @@ use Symfony\Component\HttpKernel\Exception\HttpException;
| |
*/ */
if (App::environment('production')) {
URL::forceScheme('https');
}
Route::get('/', 'ProductoController@index')->name('productos'); Route::get('/', 'ProductoController@index')->name('productos');
Auth::routes(['register' => false]); Auth::routes(['register' => false]);