22 lines
788 B
YAML
22 lines
788 B
YAML
###########################################################################
|
|
###########################################################################
|
|
##
|
|
## Docker Compose File: Portainer (Portainer.io)
|
|
## Function: Alternate GUI Manager for Docker
|
|
##
|
|
## Documentation: https://docs.portainer.io/start/install/server/docker
|
|
##
|
|
###########################################################################
|
|
###########################################################################
|
|
services:
|
|
portainer:
|
|
image: portainer/portainer-ce:latest
|
|
container_name: portainer
|
|
restart: always
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- ${FOLDER_FOR_DATA:?err}/portainer:/data
|
|
ports:
|
|
- "${WEBUI_PORT_PORTAINER:?err}:9000"
|
|
network_mode: bridge
|