composer create-project --prefer-dist laravel/laravel:^7.0
Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2". You are running 7.3.33. in /var/www/vendor/composer/platform_check.php on line 24
#PHP Service
app:
build:
context: .
dockerfile: ./docker/php/Dockerfile
image: php:7.3-fpm
container_name: webinar_php
restart: unless-stopped
tty: true
environment:
SERVICE_NAME: app
SERVICE_TAGS: dev
working_dir: /var/www
volumes:
- ./:/var/www
- ./docker/php/php.ini:/usr/local/etc/php/conf.d/local.ini
composer update --ignore-platform-reqs
{18:45}~ ➭ curl -v 127.0.0.1:7777
* Trying 127.0.0.1:7777...
* TCP_NODELAY set
* Connected to 127.0.0.1 (127.0.0.1) port 7777 (#0)
> GET / HTTP/1.1
> Host: 127.0.0.1:7777
> User-Agent: curl/7.68.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 500 Internal Server Error
< Server: nginx/1.21.4
< Date: Sat, 11 Dec 2021 16:45:47 GMT
< Content-Type: text/html; charset=UTF-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< X-Powered-By: PHP/7.3.33
<
* Connection #0 to host 127.0.0.1 left intact
{18:45}~ ➭
{18:43}~/Downloads/laravel:main ✓ ➭ netstat -tlanu | grep 7777
tcp 0 0 0.0.0.0:7777 0.0.0.0:* LISTEN
tcp6 0 0 :::7777 :::*
{18:36}~/Downloads/laravel:main ✓ ➭ ip addr | grep 80
inet6 fe80::7ef6:8742:7d0f:6e89/64 scope link noprefixroute
inet6 fe80::42:ccff:fe4b:ae2f/64 scope link
inet6 fe80::42:b0ff:fe9c:d6b8/64 scope link
inet6 fe80::42:69ff:fe93:dad6/64 scope link
inet6 fe80::6086:88ff:fe46:600d/64 scope link
inet6 fe80::90c3:7fff:fec5:7f98/64 scope link
inet6 fe80::6877:40ff:fe1f:9e97/64 scope link
81: veth6721c7c@if80: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-b3b424b6ba70 state UP group default
inet6 fe80::a882:88ff:fe15:532a/64 scope link
{18:37}~/Downloads/laravel:main ✓ ➭ ip addr | grep 7777
{18:37}~/Downloads/laravel:main ✓ ➭
Name Command State Ports
-----------------------------------------------------------------------------------------------------------------
webimar_phpmyadmin /docker-entrypoint.sh apac ... Up 0.0.0.0:7760->80/tcp,:::7760->80/tcp
webinar_mysql docker-entrypoint.sh --def ... Up 0.0.0.0:7776->3306/tcp,:::7776->3306/tcp, 33060/tcp
webinar_nginx /docker-entrypoint.sh ngin ... Up 0.0.0.0:7777->80/tcp,:::7777->80/tcp
webinar_php docker-php-entrypoint php-fpm Up 9000/tcp
This site can’t be reached http://127.0.0.0:7777/ is unreachable.
const url = "https://new2.bludelego.it";
const path = require("path");
const miniCss = require('mini-css-extract-plugin');
const BrowserSyncPlugin = require('browser-sync-webpack-plugin');
const {CleanWebpackPlugin} = require('clean-webpack-plugin');
const config = {
mode: 'development',
context: path.resolve(__dirname, 'src'),
devtool: 'source-map',
entry: {
main: './index.js'
},
output: {
filename: '[name].js',
path: path.resolve(__dirname, 'build'),
publicPath: url + '/wp-content/themes/bs-bludelego-new/build/',
},
plugins: [
new BrowserSyncPlugin({
files: [
"**/*.php",
"src/scss/**/*.scss",
"src/js/**/*.js",
],
proxy: url, // your dev server here
open: false,
delay: 1000
}),
new miniCss({
filename: 'css/main.css',
}),
new CleanWebpackPlugin({
dry: true,
})
],
module: {
rules: [
{
test: /.(s*)css$/,
use: [
miniCss.loader,
{loader: "css-loader"},
{loader: "sass-loader"},
{loader: "postcss-loader"},
]
},
{
test: /\.(png|svg|jpg|jpeg|gif)$/i,
type: 'asset/resource',
generator: {
filename: 'files/[hash][ext][query]'
}
},
{
test: /\.(woff|woff2)$/,
type: 'asset/resource',
generator: {
filename: 'files/[hash][ext][query]'
}
},
]
}
};
// Export the config object.
module.exports = config;
publicPath: 'http://localhost:10008/wp-content/themes/bs-base/build/'
Failed to decode downloaded font: http://localhost:10008/wp-content/themes/bs-base/build/a3c9529….woff2