Initial commit: homelab configuration and documentation
This commit is contained in:
14
services/standalone/Portainer Agent/docker-compose.yml
Normal file
14
services/standalone/Portainer Agent/docker-compose.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
version: '3.8'
|
||||
services:
|
||||
portainer-agent:
|
||||
image: portainer/agent:latest
|
||||
container_name: portainer-agent
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /var/lib/docker/volumes:/var/lib/docker/volumes
|
||||
environment:
|
||||
AGENT_CLUSTER_ADDR: 192.168.1.81 # Replace with the actual IP address
|
||||
AGENT_PORT: 9001
|
||||
ports:
|
||||
- "9001:9001" # Port for agent communication
|
||||
restart: always
|
||||
Reference in New Issue
Block a user