NUC yml config backup

This commit is contained in:
Dobromir Popov
2025-11-18 15:07:47 +02:00
parent d9bb3addf2
commit de554968a3
15 changed files with 1283 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
version: '3.2'
services:
portainer-edge-agent:
image: portainer/agent:latest
container_name: portainer-edge-agent
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/lib/docker/volumes:/var/lib/docker/volumes
- /:/host
- portainer_agent_data:/data
environment:
# You need to get these values from Portainer UI after adding an Edge environment
# EDGE_ID and EDGE_KEY will be provided when you create the environment
- EDGE=1
- EDGE_ID=${EDGE_ID}
- EDGE_KEY=${EDGE_KEY}
- EDGE_INSECURE_POLL=1
# Portainer server URL - adjust to your Portainer server address
- PORTAINER_TUNNEL_ADDR=localhost:8000
ports:
- "9001:9001"
volumes:
portainer_agent_data: