Change portainer agent to alpine
This commit is contained in:
@@ -3,14 +3,14 @@ services:
|
|||||||
portainer-agent:
|
portainer-agent:
|
||||||
# Basic container configuration
|
# Basic container configuration
|
||||||
container_name: portainer-agent
|
container_name: portainer-agent
|
||||||
image: docker.io/portainer/agent:latest
|
image: docker.io/portainer/agent:alpine
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
# System access configuration
|
# System access configuration
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock # Docker API access
|
- /var/run/docker.sock:/var/run/docker.sock # Docker API access
|
||||||
- /var/lib/docker/volumes:/var/lib/docker/volumes # Volume management
|
- /var/lib/docker/volumes:/var/lib/docker/volumes # Volume management
|
||||||
|
|
||||||
# Network port configuration
|
# Network port configuration
|
||||||
ports:
|
ports:
|
||||||
- 9001:9001 # Agent communication port
|
- 9001:9001 # Agent communication port
|
||||||
|
Reference in New Issue
Block a user