updated to add AGENT_SECRET

This commit is contained in:
Radar231 2021-08-01 18:25:16 -04:00
parent a9740a5b0a
commit 4fb3bbedc0
2 changed files with 10 additions and 1 deletions

1
.gitignore vendored Normal file
View File

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

View File

@ -1,9 +1,15 @@
---
version: '3.2'
services:
portainer:
container_name: portainer
image: portainer/portainer-ce
env_file:
- port.env
# environment:
# value retrieved from port.env file
# AGENT_SECRET: "xxxxxxx"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- portainer_data:/data
@ -11,6 +17,8 @@ services:
ports:
- "8000:8000"
- "9000:9000"
volumes:
portainer_data:
# EOF