Compare commits

...

10 Commits

4 changed files with 34 additions and 6 deletions

View File

@ -16,7 +16,7 @@ jobs:
matrix: matrix:
php-version: [ '8.3' ] php-version: [ '8.3' ]
node-version: ['20.x'] node-version: ['20.x']
composer-version: ['2.6.6'] composer-version: ['2.7.6']
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -25,8 +25,8 @@ jobs:
uses: shivammathur/setup-php@v2 uses: shivammathur/setup-php@v2
with: with:
php-version: ${{ matrix.php-version }} php-version: ${{ matrix.php-version }}
ini-values: opcache.enable_cli=1, extension=gd ini-values: pcre.jit=0
extensions: mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite extensions: mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite, php${{ matrix.php-version }}-gd
tools: composer:${{ matrix.composer-version }} tools: composer:${{ matrix.composer-version }}
env: env:

5
.gitignore vendored
View File

@ -22,5 +22,8 @@ yarn-error.log
/.phpstorm.meta.php /.phpstorm.meta.php
/_ide_helper.php /_ide_helper.php
/_ide_helper_models.php /_ide_helper_models.php
/public/img/icons/play-button.png
/tabit.sql /tabit.sql
/docker
/docker/db
/docker/db/data

View File

@ -35,11 +35,15 @@ class DatabaseSeeder extends Seeder
// $this->call([ // $this->call([
// AdmissionSeeder::class, // AdmissionSeeder::class,
// DocumentSeeder::class, // DocumentSeeder::class,
// ]);
// $this->call([
// FeedbackStatusSeeder::class,
// FeedbackSeeder::class,
// ]); // ]);
$this->call([ $this->call([
FeedbackStatusSeeder::class, NewsSeeder::class,
FeedbackSeeder::class,
]); ]);
} }
} }

21
docker-compose.yaml Normal file
View File

@ -0,0 +1,21 @@
version: '3'
services:
# MySQL
db:
container_name: mysql8
image: mysql:8.0
command: mysqld --default-authentication-plugin=mysql_native_password --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: laravel
# MYSQL_USER: laravel
# MYSQL_PASSWORD: laravellaravel
# MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
ports:
- '3306:3306'
volumes:
- './docker/db/data:/var/lib/mysql'
- './docker/db/my.cnf:/etc/mysql/conf.d/my.cnf'
- './docker/db/sql:/docker-entrypoint-initdb.d'
- './docker/tabit:/home'