From d836f77cc4ca604aec1a713333b4f08ce0749af0 Mon Sep 17 00:00:00 2001 From: Julien Calixte Date: Wed, 22 Apr 2026 16:09:17 +0200 Subject: [PATCH] chore: initial Coolify deployment config --- .env.example | 2 ++ .gitignore | 1 + docker-compose.yml | 13 +++++++++++++ 3 files changed, 16 insertions(+) create mode 100644 .env.example create mode 100644 .gitignore create mode 100644 docker-compose.yml diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..8ca73b8 --- /dev/null +++ b/.env.example @@ -0,0 +1,2 @@ +DOCLING_SERVE_ENABLE_UI=true +PORT=5001 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4c49bd7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.env diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..f82ac16 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,13 @@ +services: + docling: + image: quay.io/docling-project/docling-serve:latest + ports: + - "${PORT:-5001}:5001" + environment: + - DOCLING_SERVE_ENABLE_UI=${DOCLING_SERVE_ENABLE_UI:-true} + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost:5001/health"] + interval: 30s + timeout: 10s + retries: 3 + restart: unless-stopped