updated to add AGENT_SECRET
This commit is contained in:
parent
a9740a5b0a
commit
4fb3bbedc0
|
@ -0,0 +1 @@
|
|||
*.env
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue