Adding portainer agent
This commit is contained in:
19
portainer_agent/docker-compose.yml
Normal file
19
portainer_agent/docker-compose.yml
Normal 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
|
||||||
Reference in New Issue
Block a user