Skip to content

Server configuration reference

Michael Yingbull edited this page Sep 28, 2026 · 8 revisions

Server configuration reference

Home / Technical documentation / Running CARLOS

Configuration is easier to manage when you first identify which service owns the setting. A browser-facing address, a database connection, and an application preference may live in different places and take effect in different ways. Use this reference to find the right file or control, then make one deliberate change at a time.

Find the setting to change

All operator-owned files for the Debian installation live under /etc/carlos-emr/. Record the current value and the reason for a change. Edit one setting at a time, apply it with the matching command, and check the affected clinic task. The package preserves operator files on upgrade; compare them with new shipped examples when upgrading.

File Holds Apply or check
carlos-emr.env Hostname, listen address, heap, timezone, initial province sudo carlos-ctl init-config; read any restart instruction it prints.
carlos.properties Application settings sudo carlos-ctl restart, then check.
backup.env Restic repository and password Run sudo carlos-ctl backup full and backup verify.
modsecurity/ Web application firewall policy and exclusions sudo carlos-ctl waf reload, then check a representative request.
tomcat/ Private Tomcat configuration Restart and check.

For every bundled application key, its accepted value format, and the value used when no operator override is present, use the carlos.properties reference. It also lists commented opt-in settings and identifies values that must match the installation.

carlos-emr.env is read by systemd, so shell expansions and command substitution are not evaluated. Keep secrets out of shared tickets and screenshots. Store a separate copy of the backup password off the host; losing both that copy and backup.env makes retained backups unreadable. Consult the operator reference before changing a setting whose effect is unclear.

SCREENSHOT NEEDED — OP-CONFIG: Capture a synthetic terminal with the names of these files and the relevant carlos-ctl apply command. Redact values; the image should teach which file controls which service.

Related pages

Install CARLOS on Ubuntu · Clinic configuration · Server security

Administration commands

CARLOS documentation

All topics · Get help

Using CARLOS

Start here · Clinic workflows

Getting started and everyday reference
Office staff
Clinical staff and doctors
Clinic managers and administrators

Technical documentation

Technical overview · Reference

Running CARLOS

Install and configure
Maintain and troubleshoot

Developing CARLOS

Code, interfaces, and tests
Contribute and maintain releases

For everyone

Write and maintain the documentation

Clone this wiki locally