Adding portainer agent

This commit is contained in:
sa6kad
2023-03-10 20:10:01 +01:00
parent 7b4d8da577
commit 686c20491b

View File

@@ -0,0 +1,19 @@
version: '3'
networks:
infra_out:
external: true
services:
portainer:
image: portainer/agent:latest
container_name: portainer-agent
volumes:
- ~/docker_volumes/portainer_agent/data:/data
- /var/run/docker.sock:/var/run/docker.sock
ports:
- "9001:9001"
networks:
infra_out:
ipv4_address: 10.23.0.10
restart: always