Skip to content

Commit

Permalink
Add wordpress healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
escoand authored Oct 21, 2024
1 parent eb31a19 commit 13e7899
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion systemd/wordpress@.container
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Wants=mariadb.container
[Container]
ContainerName=wordpress%i
Environment=WORDPRESS_DB_HOST=mariadb
HealthCmd=curl http://localhost
Image=docker.io/library/wordpress:6.6.2-apache
Label=caddy={$WORDPRESS%i_DOMAIN}
Label=caddy.reverse_proxy={{upstreams}}
Expand All @@ -25,4 +26,4 @@ Secret=WORDPRESS%i_SECURE_AUTH_SALT,type=env,target=WORDPRESS_SECURE_AUTH_SALT
Volume=wordpress%i:/var/www/html/wp-content:z

[Install]
WantedBy=multi-user.target default.target
WantedBy=multi-user.target default.target

0 comments on commit 13e7899

Please sign in to comment.