Remove comments v3
This commit is contained in:
@@ -1,26 +1,18 @@
|
||||
# Portainer Container Management Configuration
|
||||
services:
|
||||
portainer:
|
||||
# Basic container configuration
|
||||
container_name: portainer
|
||||
image: docker.io/portainer/portainer-ee:alpine
|
||||
restart: unless-stopped
|
||||
|
||||
# Persistent storage and system access configuration
|
||||
volumes:
|
||||
- ./data:/data # Portainer configuration and database
|
||||
- /etc/localtime:/etc/localtime:ro # Sync host timezone
|
||||
- /var/run/docker.sock:/var/run/docker.sock # Docker API access
|
||||
|
||||
# Network ports configuration
|
||||
- ./data:/data
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
ports:
|
||||
- 8000:8000 # Edge agent communication port
|
||||
- 9443:9443 # Web UI HTTPS port
|
||||
|
||||
# Health check configuration
|
||||
- 8000:8000
|
||||
- 9443:9443
|
||||
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
|
||||
start_period: 10s
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
|
Reference in New Issue
Block a user