fix: add docker.sock

This commit is contained in:
lab 2021-12-02 23:32:58 +08:00
parent 638e7d5273
commit 8ef541615f

View File

@ -3,6 +3,7 @@ version: "3.9"
services:
portainer:
image: portainer/portainer-ce
container_name: "portainer.esin.io"
environment:
- "TZ=Asia/Shanghai"
labels:
@ -16,6 +17,7 @@ services:
- "traefik.http.services.portainer.loadbalancer.server.port=9000"
volumes:
- ./data:/data
- /var/run/docker.sock:/var/run/docker.sock
networks:
- traefik