mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
23 lines
490 B
Markdown
23 lines
490 B
Markdown
portainer
|
|
=========
|
|
|
|
[Portainer][1] is an open-source lightweight management UI which allows you to easily manage your Docker host or Swarm cluster.
|
|
|
|
## docker-compose.yml
|
|
|
|
```yaml
|
|
version: "3.8"
|
|
services:
|
|
portainer:
|
|
image: portainer/portainer-ce
|
|
ports:
|
|
- "8000:8000"
|
|
- "9000:9000"
|
|
volumes:
|
|
- ./data:/data
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
restart: unless-stopped
|
|
```
|
|
|
|
[1]: https://documentation.portainer.io/v2.0/deploy/ceinstalldocker/
|