From 7feca0e9e8b0db8b72d17d06077a8906d2fc06cf Mon Sep 17 00:00:00 2001 From: sven Date: Thu, 12 Feb 2026 10:30:39 +0100 Subject: [PATCH] =?UTF-8?q?Healthcheck=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wordpress/compose.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100755 wordpress/compose.yaml diff --git a/wordpress/compose.yaml b/wordpress/compose.yaml new file mode 100755 index 0000000..91ac6fb --- /dev/null +++ b/wordpress/compose.yaml @@ -0,0 +1,29 @@ +services: + wordpress: + image: wordpress:latest + container_name: wordpress + labels: + - wud.watch=true + deploy: + resources: + limits: + memory: 1G + volumes: + - ./data:/var/www/html + ports: + - 9080:80 + restart: always + environment: + - WORDPRESS_DB_HOST=192.168.178.170 + - WORDPRESS_DB_USER=wordpress + - WORDPRESS_DB_PASSWORD=dbpass + - WORDPRESS_DB_NAME=wordpress + - WORDPRESS_REDIS_HOST=192.168.178.183 + - WORDPRESS_REDIS_PORT=9379 + healthcheck: + test: ["CMD-SHELL", "curl -f http://localhost || exit 1"] + interval: 30s + timeout: 10s + retries: 5 + start_period: 40s # WP-Setup braucht Zeit +networks: {}