phpmyadmin service added
6
.env
|
@ -9,9 +9,9 @@ LOG_CHANNEL=stack
|
|||
DB_CONNECTION=mysql
|
||||
DB_HOST=db_mysql
|
||||
DB_PORT=3306
|
||||
DB_DATABASE="unioilLoyaltyApp"
|
||||
DB_USERNAME="admin_erish"
|
||||
DB_PASSWORD="laravel"
|
||||
DB_DATABASE=unioilLoyaltyApp
|
||||
DB_USERNAME=admin_erish
|
||||
DB_PASSWORD=laravel
|
||||
|
||||
BROADCAST_DRIVER=log
|
||||
CACHE_DRIVER=file
|
||||
|
|
|
@ -114,6 +114,13 @@ class UserController extends Controller
|
|||
'is_active' => 1,
|
||||
]);
|
||||
|
||||
return response()->json([
|
||||
'success' => false,
|
||||
'testDITO' =>$request->username,
|
||||
'testDITO2' =>$admin,
|
||||
], 200);
|
||||
|
||||
|
||||
if($admin->count())
|
||||
{
|
||||
if($admin[0]['status'] == 1)
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
},
|
||||
"require-dev": {
|
||||
"beyondcode/laravel-dump-server": "^2.0",
|
||||
"fakerphp/faker": "*",
|
||||
"filp/whoops": "^2.0",
|
||||
"fakerphp/faker": "^1.9",
|
||||
"mockery/mockery": "^1.0",
|
||||
"nunomaduro/collision": "^8.0",
|
||||
"phpunit/phpunit": "^10.0"
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "ed9b7b9d24984ea7151f827620821d79",
|
||||
"content-hash": "fd8524023e7a69526ee6118304ac60d3",
|
||||
"packages": [
|
||||
{
|
||||
"name": "aws/aws-crt-php",
|
||||
|
|
|
@ -42,6 +42,19 @@ services:
|
|||
networks:
|
||||
- app_network
|
||||
|
||||
phpmyadmin:
|
||||
image: phpmyadmin/phpmyadmin
|
||||
container_name: phpmyadmin
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
PMA_HOST: db_mysql # Hostname of your MySQL container
|
||||
PMA_PORT: 3306
|
||||
MYSQL_ROOT_PASSWORD: laravel # Root password (match with your db container)
|
||||
ports:
|
||||
- "8080:80" # Exposes phpMyAdmin on port 8080
|
||||
networks:
|
||||
- app_network
|
||||
|
||||
nginx:
|
||||
image: nginx:alpine
|
||||
container_name: nginx
|
||||
|
@ -64,4 +77,4 @@ volumes:
|
|||
|
||||
networks:
|
||||
app_network:
|
||||
driver: bridge
|
||||
driver: bridge
|
||||
|
|
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 6.5 KiB |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 5.4 KiB |
|
@ -254,3 +254,8 @@ Route::get('mobile/stationfuels','API\StationController@get_station_fuels');
|
|||
|
||||
//mobile version
|
||||
Route::get('mobile/getVersion/{platform}','API\SystemPreferenceController@mobile_version');
|
||||
|
||||
|
||||
Route::get('/test', function () {
|
||||
return 'Test route';
|
||||
});
|