2021-08-01 18:25:16 -04:00
|
|
|
---
|
2021-07-23 18:57:38 -04:00
|
|
|
version: '3.2'
|
|
|
|
|
|
|
|
services:
|
|
|
|
portainer:
|
|
|
|
container_name: portainer
|
|
|
|
image: portainer/portainer-ce
|
2021-08-01 18:25:16 -04:00
|
|
|
env_file:
|
|
|
|
- port.env
|
|
|
|
# environment:
|
|
|
|
# value retrieved from port.env file
|
|
|
|
# AGENT_SECRET: "xxxxxxx"
|
2021-07-23 18:57:38 -04:00
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
2021-09-11 08:35:48 -04:00
|
|
|
# - portainer_data:/data
|
|
|
|
- ./data:/data
|
2021-07-23 18:57:38 -04:00
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
|
|
|
- "8000:8000"
|
|
|
|
- "9000:9000"
|
2021-08-01 18:25:16 -04:00
|
|
|
|
2021-07-23 18:57:38 -04:00
|
|
|
volumes:
|
|
|
|
portainer_data:
|
2021-08-01 18:25:16 -04:00
|
|
|
|
|
|
|
# EOF
|