portainer:
image: portainer/portainer-ce:latest
container_name: SRV_Portainer
restart: unless-stopped
environment:
TZ: Europe/Rome
ports:
- "8000:8000"
- "9443:9443"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./portainer_data:/data```
```yaml
portainer_agent:
image: portainer/agent:2.33.5
container_name: SRV_Portainer_Agent
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/lib/docker/volumes:/var/lib/docker/volumes
- /:/host
ports:
- "9001:9001"Portainer
Guida per installare Portainer con Docker. Interfaccia web per gestire container Docker, immagini, volumi e reti in modo semplice.
yaml