forked from projects/file-explorer
Compare commits
7 Commits
feature/do
...
5fcc7c78bb
Author | SHA1 | Date | |
---|---|---|---|
5fcc7c78bb | |||
bca12e5483 | |||
c1e1ab081f | |||
4826805f57 | |||
ca9a18987b | |||
0e53f0a199 | |||
831466cba9
|
@ -7,8 +7,8 @@ xdebug_enabled: false
|
|||||||
additional_hostnames: []
|
additional_hostnames: []
|
||||||
additional_fqdns: []
|
additional_fqdns: []
|
||||||
database:
|
database:
|
||||||
type: mariadb
|
type: postgres
|
||||||
version: "10.11"
|
version: "17"
|
||||||
use_dns_when_possible: true
|
use_dns_when_possible: true
|
||||||
composer_version: "2"
|
composer_version: "2"
|
||||||
web_environment: []
|
web_environment: []
|
||||||
|
2
.env
2
.env
@ -19,4 +19,4 @@ APP_ENV=dev
|
|||||||
APP_SECRET=bfc9c288ee3dcce80dec8622c2870f27
|
APP_SECRET=bfc9c288ee3dcce80dec8622c2870f27
|
||||||
###< symfony/framework-bundle ###
|
###< symfony/framework-bundle ###
|
||||||
|
|
||||||
DATA_DIR=/var/www/data
|
DATA_DIR='/var/www/html/data'
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
name: build
|
name: build
|
||||||
on: push
|
on:
|
||||||
# pull_request:
|
pull_request:
|
||||||
# types:
|
types:
|
||||||
# - closed
|
- closed
|
||||||
# branches:
|
branches:
|
||||||
# - main
|
- main
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: remote
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: https://git.simonis.lol/actions/checkout@v4
|
||||||
- uses: docker/login-action@v1
|
- uses: https://git.simonis.lol/actions/login@v1
|
||||||
with:
|
with:
|
||||||
registry: git.simonis.lol
|
registry: git.simonis.lol
|
||||||
username: ${{ vars.DOCKER_USER }}
|
username: ${{ vars.DOCKER_USER }}
|
||||||
@ -20,4 +20,4 @@ jobs:
|
|||||||
run: docker build -t git.simonis.lol/sites/file-explorer:latest .
|
run: docker build -t git.simonis.lol/sites/file-explorer:latest .
|
||||||
|
|
||||||
- name: push
|
- name: push
|
||||||
run: docker push git.simonis.lol/sites/file-explorer:latest
|
run: docker push git.simonis.lol/sites/file-explorer:latest
|
||||||
|
@ -18,9 +18,3 @@ RUN pecl install apcu && docker-php-ext-enable apcu
|
|||||||
|
|
||||||
WORKDIR /var/www/project
|
WORKDIR /var/www/project
|
||||||
RUN composer install --optimize-autoloader --no-suggest --no-progress
|
RUN composer install --optimize-autoloader --no-suggest --no-progress
|
||||||
RUN composer dump-env prod
|
|
||||||
RUN php bin/console tailwind:build
|
|
||||||
RUN php bin/console asset-map:compile
|
|
||||||
RUN mkdir -p /var/www/data
|
|
||||||
RUN chown -R www-data:www-data /var/www/data
|
|
||||||
RUN chown -R www-data:www-data .
|
|
||||||
|
23
src/test.php
23
src/test.php
@ -1,23 +0,0 @@
|
|||||||
<?php
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
namespace App;
|
|
||||||
|
|
||||||
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
|
||||||
use Symfony\Component\HttpKernel\Event\ExceptionEvent;
|
|
||||||
use Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent;
|
|
||||||
use Symfony\Component\HttpKernel\KernelEvents;
|
|
||||||
|
|
||||||
class test implements EventSubscriberInterface
|
|
||||||
{
|
|
||||||
|
|
||||||
public static function getSubscribedEvents()
|
|
||||||
{
|
|
||||||
return [KernelEvents::EXCEPTION => 'x'];
|
|
||||||
}
|
|
||||||
|
|
||||||
public function x(ExceptionEvent $event)
|
|
||||||
{
|
|
||||||
dd($event->getThrowable());
|
|
||||||
}
|
|
||||||
}
|
|
@ -3,7 +3,7 @@
|
|||||||
{% block title %}Home{% endblock %}
|
{% block title %}Home{% endblock %}
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<center class="container mt-5">
|
<center class="container mt-5 mx-auto">
|
||||||
{% include '_partials/_table.html.twig' %}
|
{% include '_partials/_table.html.twig' %}
|
||||||
</center>
|
</center>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Reference in New Issue
Block a user