initial checkin

This commit is contained in:
Radar231 2021-09-09 09:38:07 -04:00
commit ea065d2efa
3 changed files with 33 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.env

7
README.md Normal file
View File

@ -0,0 +1,7 @@
# portainer_agent_npm docker deployment
## Introduction
This docker-compose config will deploy a portainer_agent server that sits
behind an nginx-proxy-manager.

25
docker-compose.yml Normal file
View File

@ -0,0 +1,25 @@
---
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"
networks:
default:
external: true
name: npm-backend
# EOF