docker_portainer_agent_npm/docker-compose.yml

26 lines
482 B
YAML
Raw Normal View History

2021-09-09 09:38:07 -04:00
---
version: '3.2'
services:
agent:
container_name: portainer_agent
image: portainer/agent:2.11.0
2021-09-09 09:38:07 -04:00
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