Added example of config.local.php

This commit is contained in:
Navas 2023-01-28 15:44:51 +01:00
parent 7140fba05d
commit 9964203ee0

20
config.local.php.example Normal file
View file

@ -0,0 +1,20 @@
<?php
namespace Garradin;
// Some random key of more than 30 characters
// openssl rand -base64 40
const SECRET_KEY = '0OeAjxqVVXhHslYOshVKweVa/Br7x2izi53h9JKt+PsMV6bd1B1R6Q==';
// SMTP parameters
const SMTP_HOST = 'your.smtp.server';
const SMTP_PORT = 25;
const SMTP_SECURITY = 'NONE';
// Upgrades should be handled by new docker image version
const ENABLE_UPGRADES = false;
// Storage quota
const FILE_STORAGE_QUOTA = 1*1024*1024*1024; // 1 Go
// Command line to use chromium to generate PDF documents
const PDF_COMMAND = 'chromium --no-sandbox --headless --disable-dev-shm-usage --autoplay-policy=no-user-gesture-required --no-first-run --disable-gpu --disable-features=DefaultPassthroughCommandDecoder --use-fake-ui-for-media-stream --use-fake-device-for-media-stream --disable-sync --print-to-pdf=%2$s %1$s';