fix: add docker.sock
This commit is contained in:
parent
638e7d5273
commit
8ef541615f
@ -3,6 +3,7 @@ version: "3.9"
|
|||||||
services:
|
services:
|
||||||
portainer:
|
portainer:
|
||||||
image: portainer/portainer-ce
|
image: portainer/portainer-ce
|
||||||
|
container_name: "portainer.esin.io"
|
||||||
environment:
|
environment:
|
||||||
- "TZ=Asia/Shanghai"
|
- "TZ=Asia/Shanghai"
|
||||||
labels:
|
labels:
|
||||||
@ -16,6 +17,7 @@ services:
|
|||||||
- "traefik.http.services.portainer.loadbalancer.server.port=9000"
|
- "traefik.http.services.portainer.loadbalancer.server.port=9000"
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/data
|
- ./data:/data
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
networks:
|
networks:
|
||||||
- traefik
|
- traefik
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user