Update stack_opi5plus_monitoring/docker-compose.yml
This commit is contained in:
@@ -18,6 +18,11 @@ services:
|
||||
volumes:
|
||||
- /root/docker_persistent_files/stacks/monitoring/beszel/beszel_data:/beszel_data
|
||||
- /root/docker_persistent_files/stacks/monitoring/beszel/beszel_socket:/beszel_socket
|
||||
healthcheck:
|
||||
# The URL is relative to the container, not the host
|
||||
test: ['CMD', '/beszel', 'health', '--url', 'http://localhost:8090']
|
||||
start_period: 5s # Check 5 seconds after the container starts
|
||||
interval: 120s # Then check every 120 seconds after that
|
||||
beszel-agent:
|
||||
image: henrygd/beszel-agent:latest
|
||||
container_name: beszel-agent
|
||||
@@ -37,6 +42,9 @@ services:
|
||||
HUB_URL: http://localhost:8090
|
||||
TOKEN: "748d-e596372bc4-5a00-d60117c1e4"
|
||||
KEY: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEFRVqrnybOlaRG8dblTlPAIYWM6uYbpHNtpCrRbtDzB"
|
||||
healthcheck:
|
||||
test: ['CMD', '/agent', 'health']
|
||||
interval: 120s
|
||||
networks:
|
||||
default:
|
||||
name: portainer_default
|
||||
|
||||
Reference in New Issue
Block a user