Adding comprehensive comments

This commit is contained in:
2025-07-14 12:48:15 +05:30
parent e57dfa763e
commit ff5ae47bef
22 changed files with 683 additions and 329 deletions

View File

@@ -1,12 +1,18 @@
# Portainer Container Management Configuration
services:
portainer:
# Basic container configuration
container_name: portainer
image: docker.io/portainer/portainer-ee:latest
restart: unless-stopped
# Persistent storage and system access configuration
volumes:
- ./data:/data
- /etc/localtime:/etc/localtime:ro
- /var/run/docker.sock:/var/run/docker.sock
- ./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
ports:
- 8000:8000
- 9443:9443
- 8000:8000 # Edge agent communication port
- 9443:9443 # Web UI HTTPS port