version: "3.2"
|
|
|
|
services:
|
|
portainer:
|
|
container_name: ${PORTAINER_CONTAINER_NAME:-portainer}
|
|
image: portainer/portainer-ce:${PORTAINER_VERSION:-latest}
|
|
restart: always
|
|
ports:
|
|
- ${PORTAINER_HOST_IP_ADDRESS:-127.0.0.1}:${PORTAINER_HOST_PORT:-9000}:9000
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- data:/data
|
|
|
|
volumes:
|
|
data:
|