Initial checkin
This commit is contained in:
commit
703e1921ec
|
@ -0,0 +1 @@
|
||||||
|
*.env
|
|
@ -0,0 +1,6 @@
|
||||||
|
# portainer_agent docker deployment
|
||||||
|
|
||||||
|
## Introduction
|
||||||
|
|
||||||
|
This docker-compose config will deploy a portainer_agent server.
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
version: '3.2'
|
||||||
|
|
||||||
|
services:
|
||||||
|
agent:
|
||||||
|
container_name: portainer_agent
|
||||||
|
image: portainer/agent
|
||||||
|
env_file:
|
||||||
|
- port.env
|
||||||
|
environment:
|
||||||
|
# value retrieved from port.env file
|
||||||
|
# AGENT_SECRET: "xxxxxxx"
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
- /var/lib/docker/volumes:/var/lib/docker/volumes
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- "9001:9001"
|
||||||
|
|
Loading…
Reference in New Issue