Skip to content

JSON Files and Configuration

Maattt GoobyFRS edited this page Dec 24, 2025 · 5 revisions

This page serves as a reference for file content, but may be removed in the future due to not really having a good purpose.

Employee JSON

The employee.json file is used to define and control user login. Version v0.7.5 implemented Password Hashing with auto-migration. Initial login is defined with 'tech_authcode' and is then salted during the first user login. This operation is written to the logs.

[
    {
        "tech_username": "demouser",
        "tech_authcode": "NoPassword123",
        "tech_type": "Technician",
        "password_hash": "$123abc..."
    },
    {
        "tech_username": "otheruser",
        "tech_authcode": "demoPassword2020",
        "tech_type": "DISABLED"
    }
]

Tickets JSON

After a Ticket is closed, closed_by and closure_date variables are assigned.

[
    {
        "ticket_number": "TKT-2025-0001",
        "requestor_name": "Mom",
        "requestor_email": "mom@example.com",
        "ticket_subject": "First Ticket",
        "ticket_message": "Can you help me with my computer issue?",
        "request_type": "Request",
        "ticket_status": "Open",
        "submission_date": "2025-01-02 10:00:30",
        "ticket_notes": ["This is a note"]
        "closed_by": "demouser",
        "closure_date": "2025-12-24 01:50:03"

    }
]

core_configuration.yml

Future versions will ship with template_configuration.yml and it will be copied to core_configuration.yml using a build script.

# ==========================================
# GoobyDesk Core Configuration
# ==========================================
# Core Files
tickets_file: "./tickets.json"
employee_file: "./employee.json"

# Logging
logging:
  level: "INFO"    # Valid: DEBUG, INFO, WARNING, ERROR, CRITICAL
  file: "/var/log/goobydesk.log"

# Email System
email:
  enabled: false    # true / false - false by default.
  account: ""    # Username/Email Address - Password should be stored in .env
  imap_server: ""
  imap_port: 993
  smtp_server: ""
  smtp_port: 587

# Discord Support
discord:
  enabled: false    # true / false - false by default.
  webhook_url: ""

# Slack Support
slack:
  enabled: false        # true / false - false by default.
  webhook_url: ""

Clone this wiki locally