Add docker-compose.yaml
This commit is contained in:
14
docker-compose.yaml
Normal file
14
docker-compose.yaml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
services:
|
||||||
|
portainer_agent:
|
||||||
|
image: portainer/agent:latest
|
||||||
|
container_name: portainer_agent
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "9001:9001"
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
- portainer_data:/data
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
portainer_data:
|
||||||
|
name: portainer_data
|
Reference in New Issue
Block a user