← Tous les guides
ERPNext
ERPNext is a full open-source ERP built on the Frappe framework, covering accounting, manufacturing, CRM and more; the officially supported way to run it in production is via the frappe_docker Docker Compose setup.
Ce guide est élaboré à partir de la documentation officielle de ERPNext, dont le lien figure ci-dessus — vérifiez toujours les noms exacts des paquets/versions avant d'exécuter ces commandes sur un serveur de production, car les versions de la distribution et du projet évoluent avec le temps.
1Install Docker and Docker Compose
curl -fsSL https://get.docker.com | bashDOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker}mkdir -p $DOCKER_CONFIG/cli-pluginscurl -SL https://github.com/docker/compose/releases/download/v2.2.3/docker-compose-linux-x86_64 -o $DOCKER_CONFIG/cli-plugins/docker-composechmod +x $DOCKER_CONFIG/cli-plugins/docker-compose2Clone the official frappe_docker repository
git clone https://github.com/frappe/frappe_dockercd frappe_docker3Configure and deploy the stack
Follow the single-server example to generate the compose YAML with environment files for Traefik, MariaDB and the ERPNext app, then bring the stack up.
docker compose --project-name erpnext-one -f ~/gitops/erpnext-one.yaml up -d4Create the first site
Once the containers are healthy, create the site and install the erpnext app into it.
docker compose --project-name erpnext-one exec backend bench new-site --mariadb-user-host-login-scope=% --db-root-password changeit --install-app erpnext --admin-password changeit one.example.comReplace changeit and one.example.com with your real password and domain before running this in production.