Add portainer agent
This commit is contained in:
		
							parent
							
								
									a45814e18c
								
							
						
					
					
						commit
						37dd702c66
					
				
					 2 changed files with 29 additions and 0 deletions
				
			
		
							
								
								
									
										9
									
								
								portainer_agent/README.md
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								portainer_agent/README.md
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,9 @@
 | 
				
			||||||
 | 
					# portainer-agent
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					A centralized service delivery platform for containerized apps.
 | 
				
			||||||
 | 
					This is the edge agent which connects to the main portainer instance.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Important step when deploying
 | 
				
			||||||
 | 
					This service can obiously not be deployed using portainer.
 | 
				
			||||||
 | 
					So this service needs to be deployed manually using docker compose.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
							
								
								
									
										20
									
								
								portainer_agent/docker-compose.yaml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								portainer_agent/docker-compose.yaml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,20 @@
 | 
				
			||||||
 | 
					version: "3"
 | 
				
			||||||
 | 
					services: 
 | 
				
			||||||
 | 
					  portainer-agent:
 | 
				
			||||||
 | 
					    image: portainer/agent:2.11.0
 | 
				
			||||||
 | 
					    restart: unless-stopped
 | 
				
			||||||
 | 
					    volumes:
 | 
				
			||||||
 | 
					      - /var/run/docker.sock:/var/run/docker.sock 
 | 
				
			||||||
 | 
					      - /var/lib/docker/volumes:/var/lib/docker/volumes 
 | 
				
			||||||
 | 
					      - /:/host 
 | 
				
			||||||
 | 
					      - portainer_agent_data:/data 
 | 
				
			||||||
 | 
					    environment:
 | 
				
			||||||
 | 
					      - EDGE=1 
 | 
				
			||||||
 | 
					      - EDGE_ID=id # set to edge id from portainer ui
 | 
				
			||||||
 | 
					      - EDGE_KEY=key # set to edge key from portainer ui
 | 
				
			||||||
 | 
					      - CAP_HOST_MANAGEMENT=1 
 | 
				
			||||||
 | 
					      # - EDGE_INSECURE_POLL=1 # enable this to trust self-signed ssl certificates
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					volumes:
 | 
				
			||||||
 | 
					  portainer_agent_data:
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue