init agent portainer
This commit is contained in:
parent
6ec5013c41
commit
1da152c67c
17
dockers/portainer_agent/docker-compose.yml
Normal file
17
dockers/portainer_agent/docker-compose.yml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
services:
|
||||||
|
edge_agent:
|
||||||
|
image: portainer/agent:latest
|
||||||
|
environment:
|
||||||
|
- EDGE=1
|
||||||
|
- CAP_HOST_MANAGEMENT=1
|
||||||
|
- PORTAINER_URL=https://portainer.kaz.bzh
|
||||||
|
env_file:
|
||||||
|
- ../../secret/env-portainer-agent
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
- /var/lib/docker/volumes:/var/lib/docker/volumes
|
||||||
|
- portainer_agent_data:/data
|
||||||
|
network_mode: "host"
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
portainer_agent_data:
|
Loading…
Reference in New Issue
Block a user