docker run --name laravel -p 8088:80 -v /Users/villian/app/php/fujia/casino-api3:/var/www/html/app laraedit/laraedit docker rm -rf laravel docker run --name laravel -p 8088:80 --network coinuse -e WEBROOT=/var/www/html/public -v /Users/villian/app/php/fujia/casino-api3:/var/www/html tangramor/nginx-php8-fpm:php8.2.2_node19.6.0
TZ: 'Asia/Shanghai'
WEBROOT: '/var/www/html/public'
PHP_REDIS_SESSION_HOST: 'redis'
CREATE_LARAVEL_STORAGE: '1'
COMPOSERMIRROR: 'https://mirrors.cloud.tencent.com/composer/'
NPMMIRROR: 'https://registry.npmmirror.com'
composer update php artisan passport:install php artisan passport:keys php artisan migrate
- Within your app/Http directory, create a helpers.php file and add your functions.
- Within composer.json, in the autoload block, add "files": ["app/Http/helpers.php"].
- Run composer dump-autoload.
php artisan migrate --path=\database\migrations\fileName.php
php artisan migrate:rollback --path=/database/migrations/fileName.php
-
casino-web
- npm i
- npm run dev
-
casino-admin
- npm i
- npm run dev
-
casino-api3
- composer install
- composer dump-autoload
- php artisan passport:install
- php artisan config:clear
- php artisan serve
-
casino-socket (file path: casino-api3/casino-socket)
- npm i
- node(nodemon) server.js
https://www.nowscore.com/index.html
sniper 123456
27.126.187.10,17,24,30,37 (IP x 5) 密碼: Upq2JUhntzm4 端口: 35115
ssh -p 35115 [email protected] ssh [email protected]
27.126.187.127-131 (IP x 5) root A2epmRDYB4ba