Add Health Check to Container
version: "2.1"
services:
app:
image: ghcr.io/linuxserver/plex:1.32.6
network_mode: host
volumes:
- app:/config
- media:/media
healthcheck:
test: curl --connect-timeout 30 --silent --show-error --fail http://localhost:32400/identity
interval: 1m
timeout: 30s
retries: 3
start_period: 1m
restart: unless-stoppedAdd a Health Check to your Compose file
Access the CLI of your container
Health Checks
Web page
Command
"test" example line
Database
Database Container
"test" example line
Last updated