add portainer agent
This commit is contained in:
1 parent
2e4df34a13
commit
86eaf6b5d7
1 file changed
+10
@@ -88,6 +88,16 @@ services:
|
||||
ipv4_address: 172.31.0.2
|
||||
restart: always
|
||||
|
||||
portainer_agent:
|
||||
image: portainer/agent:lts # Version muss zur Portainer-Version passen
|
||||
container_name: portainer_agent
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /var/lib/docker/volumes:/var/lib/docker/volumes
|
||||
ports:
|
||||
- "9001:9001"
|
||||
restart: always
|
||||
|
||||
networks:
|
||||
docker-net:
|
||||
driver: bridge
|
||||
|
||||
Reference in new issue
Block a user