Compare commits

...

2 Commits

Author SHA1 Message Date
00984b645b Change portainer to alpine and add healthchecks 2025-07-16 23:43:12 +05:30
a0eff55c47 Change portainer agent to alpine 2025-07-16 23:42:51 +05:30
2 changed files with 13 additions and 5 deletions

View File

@@ -3,7 +3,7 @@ services:
portainer-agent:
# Basic container configuration
container_name: portainer-agent
image: docker.io/portainer/agent:latest
image: docker.io/portainer/agent:alpine
restart: unless-stopped
# System access configuration

View File

@@ -3,7 +3,7 @@ services:
portainer:
# Basic container configuration
container_name: portainer
image: docker.io/portainer/portainer-ee:latest
image: docker.io/portainer/portainer-ee:alpine
restart: unless-stopped
# Persistent storage and system access configuration
@@ -16,3 +16,11 @@ services:
ports:
- 8000:8000 # Edge agent communication port
- 9443:9443 # Web UI HTTPS port
# Health check configuration
healthcheck:
test: "wget --no-verbose --tries=1 --spider http://localhost:9000/api/system/status || exit 1"
start_period: 10s # Initial delay before checks
interval: 10s # Check interval
timeout: 5s # Check timeout
retries: 3 # Allowed retries