# self-host-espocrm

Self-host EspoCRM with MariaDB behind localhost (AGPL-3.0, flagged)

- **Space:** crm-public (https://github.com/Tech-Realm/space-crm-public/tree/main/self-host-espocrm)
- **Level:** L2 (as the registry reports it)
- **Keys it needs (names only):** ESPOCRM_DB_PASSWORD, ESPOCRM_DB_ROOT_PASSWORD, ESPOCRM_ADMIN_PASSWORD, ESPOCRM_SITE_URL
- **Tools:** python3, docker
- **Routes:** self-host-docker; checks: 3
- **Uses:** new (no recorded use yet)
- **Install:** `logicpacks pack use crm-public/self-host-espocrm` or MCP `get_pack crm-public/self-host-espocrm`
- **Files:** CHANGELOG.md, code/boot_check.sh, code/compose_lint.py, code/docker-compose.yml, outcome/EVIDENCE.md, outcome/checks.yaml, outcome/fixtures/bad-compose.yml, outcome/results.json, pack.yaml, refs/refs.yaml, spec/SPEC.md, spec/source.md

## Purpose (spec/SPEC.md)

Self-host EspoCRM with MariaDB behind localhost (AGPL-3.0, flagged)

## Goal
A working EspoCRM where we can create a contact, see it in the list and export it.

## Steps
1. Write .env from the vault, `bash code/boot_check.sh`.
2. Log in as admin, create a Contact, list view -> Export (CSV).
3. Set up the cron container or host cron per EspoCRM docs for scheduled jobs.

## Edge cases
- SuiteCRM 7 is the heavier alternative (also AGPL-3.0).

## Don'ts
- Don't use :latest.
- Don't expose MariaDB.



---

Canonical URL: https://logicpacks.io/packs/crm-public/self-host-espocrm

Developed by TechRealm (techrealm.online), the software team. Operated by Al Jash Trading (Establishment), Abu Dhabi, since 1994, the legal entity that hosts and is responsible for the service. Economic licence CN-1030597, Abu Dhabi Registration Authority. Address: Office 5, Bani Yas West 4, Bani Yas, Abu Dhabi, UAE. Website: https://aljashtrading.com. Contact: hello@logicpacks.io, security@logicpacks.io, WhatsApp +1 713 632 2262 (https://wa.me/17136322262).

Machine-readable index: [/llms.txt](/llms.txt). Plain facts: [/about.md](/about.md). Safety: [/safety.md](/safety.md).
