Adding portainer example

Signed-off-by: Leon Stoldt <tech@leon-stoldt.de>
This commit is contained in:
Leon Stoldt
2021-08-07 14:37:23 +02:00
parent 800e211fc4
commit 5cfa856a07
3 changed files with 72 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
version: '3.7'
services:
portainer:
image: portainer/portainer-ce:alpine
container_name: portainer
command: -H unix:///var/run/docker.sock
ports:
- "9000:9000"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- "portainer_data:/data"
restart: always
volumes:
portainer_data: