3 Commits

Author SHA1 Message Date
a327adf8db Removed failing healthcheck 2025-10-02 20:02:10 +02:00
7a38cb90fb Added correct resources for baserow 2025-10-02 19:59:04 +02:00
9d6cf03f5b Fix: Replace unsupported /dev/tcp healthcheck with onboard PHP socket check for websocket service
Replaced the previous shell-based /dev/tcp healthcheck with a PHP fsockopen() test to ensure compatibility with minimal base images. This avoids dependency on missing tools like nc or curl and provides a reliable onboard check.

Conversation: https://chatgpt.com/share/68deb8ec-d920-800f-bd35-2869544fe30f
2025-10-02 19:40:13 +02:00
2 changed files with 4 additions and 6 deletions

View File

@@ -17,6 +17,10 @@ docker:
image: "baserow/baserow"
version: "latest"
name: "baserow"
cpus: 1.0
mem_reservation: 0.5g
mem_limit: 1g
pids_limit: 512
volumes:
data: "baserow_data"
server:

View File

@@ -64,12 +64,6 @@
depends_on:
{{ ESPOCRM_SERVICE }}:
condition: service_healthy
healthcheck:
test: ["CMD", "sh", "-c", "exec 3<>/dev/tcp/127.0.0.1/8080 && echo 'OK' && exec 3<&- 3>&-"]
interval: 30s
timeout: 5s
retries: 5
start_period: 40s
{% include 'roles/docker-compose/templates/volumes.yml.j2' %}
data: