.
Deploy / deploy (push) Successful in 8s

This commit is contained in:
2026-05-31 20:45:51 +02:00
parent f2e76bf07b
commit 4fd6bfa8da
2 changed files with 3 additions and 21 deletions
+3 -9
View File
@@ -11,8 +11,7 @@ services:
- ./composer.json:/app/composer.json
- data:/app/data
depends_on:
clickhouse:
condition: service_healthy
- clickhouse
restart: unless-stopped
nginx:
@@ -42,8 +41,7 @@ services:
- data:/app/data
- log_collect:/collect
depends_on:
clickhouse:
condition: service_healthy
- clickhouse
command: ["php", "bin/consume", "--daemon"]
restart: unless-stopped
@@ -58,11 +56,7 @@ services:
nofile:
soft: 262144
hard: 262144
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8123/ping"]
interval: 5s
timeout: 3s
retries: 10
volumes:
data:
-12
View File
@@ -2,16 +2,4 @@
mkdir -p /app/data
chmod -R 777 /app/data
rm -f /app/data/*.lock
# Wait for ClickHouse to be ready
echo "Waiting for ClickHouse..."
for i in $(seq 1 30); do
if wget --spider -q http://clickhouse:8123/ping 2>/dev/null; then
echo "ClickHouse is ready"
break
fi
echo " attempt $i..."
sleep 1
done
exec docker-php-entrypoint "$@"