46 lines
1.6 KiB
Bash
46 lines
1.6 KiB
Bash
# OTRS Turbo - Environment Configuration
|
|
# Copy this file to .env and fill in your values
|
|
|
|
# Database Dialect: 'postgres' (default) or 'mysql' (for MySQL/MariaDB)
|
|
DB_TYPE=postgres
|
|
|
|
# Database Connection Details
|
|
DB_HOST=your_db_ip_here
|
|
DB_PORT=5432
|
|
DB_NAME=otrs
|
|
DB_USER=otrs
|
|
DB_PASSWORD=your_password_here
|
|
|
|
# Server Port
|
|
PORT=3000
|
|
|
|
OTRS_API_USER=root@localhost
|
|
OTRS_API_PASSWORD=your_password_here
|
|
OTRS_API_URL=http://your_otrs_host_or_ip/otrs/nph-genericinterface.pl/Webservice/GenericTicketConnectorREST
|
|
|
|
#Variabile per il Tempo di consultivazione giornaliero
|
|
DAILY_TARGET_TIME=480
|
|
|
|
#Variabile per la numerazione dei ticket
|
|
OTRS_SYSTEM_ID=10
|
|
OTRS_COUNTER_PADDING=6
|
|
# Intervallo in ore per la sincronizzazione automatica LDAP (default 24 ore)
|
|
LDAP_SYNC_INTERVAL_HOURS=24
|
|
|
|
# Imposta a true per forzare l'aggiornamento diretto del DB per tutte le modifiche ai ticket bypassando l'API REST (esclusa la ricerca LDAP)
|
|
FORCE_DB_UPDATE=false
|
|
|
|
# Chiave per cifrare le frasi nel database locale (NON CANCELLARE O MODIFICARE SE CI SONO DATI CRIPTATI)
|
|
CRYPTO_KEY=f30b91e92d77a06c59b20b2272e2cfbc
|
|
|
|
# Soglia in percentuale del target tempo giornaliero per l'attivazione delle frasi demotivazionali (es. 70 per il 70%)
|
|
PHRASE_THRESHOLD=70
|
|
|
|
# Configurazioni per la consuntivazione automatica fine giornata
|
|
AUTO_TIME_MIN_HOUR=18:00
|
|
AUTO_TIME_QUEUE=Assistenza
|
|
AUTO_TIME_TYPE=Default
|
|
AUTO_TIME_TITLE=Consuntivazione Automatica fine giornata
|
|
AUTO_TIME_SUBJECT=Consuntivazione automatica ore mancanti
|
|
AUTO_TIME_BODY=Consuntivazione eseguita automaticamente per il completamento delle ore lavorative giornaliere.
|
|
AUTO_TIME_CUSTOMER_USER=client_generic |