Reorganize project structure and migrate CI to Forgejo
Some checks are pending
Deploy / deploy (push) Waiting to run
Some checks are pending
Deploy / deploy (push) Waiting to run
Move all files from deploy/ to project root, replace .gitlab-ci.yml with .forgejo/workflows/deploy.yml using Gitea Actions format. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
baa36144a8
commit
b130f5c9d8
13 changed files with 71 additions and 66 deletions
27
config/config.php
Normal file
27
config/config.php
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
// Clés API autorisées
|
||||
'api_keys' => [
|
||||
'25377ab6e2153b159d1d5fa22501228810b6aec9d63346bd0614045dc167061c',
|
||||
// Ajouter d'autres clés si nécessaire
|
||||
],
|
||||
|
||||
// Chemins
|
||||
'tmp_dir' => '/var/www/web2print/tmp',
|
||||
'log_file' => '/var/www/web2print/logs/app.log',
|
||||
|
||||
// Paged.js CLI
|
||||
'pagedjs_bin' => '/usr/bin/pagedjs-cli', // Vérifier avec: which pagedjs-cli
|
||||
'pagedjs_timeout' => 60, // secondes
|
||||
|
||||
// Limites
|
||||
'max_html_size' => 5 * 1024 * 1024, // 5 MB
|
||||
'max_execution_time' => 90,
|
||||
|
||||
// Options PDF par défaut
|
||||
'pdf_defaults' => [
|
||||
'format' => 'A4',
|
||||
'margin' => '2cm',
|
||||
],
|
||||
];
|
||||
Loading…
Add table
Add a link
Reference in a new issue