diff --git a/portainer/docker-compose.yml b/portainer/docker-compose.yml index 1778d95..662a03d 100644 --- a/portainer/docker-compose.yml +++ b/portainer/docker-compose.yml @@ -3,6 +3,7 @@ version: "3.9" services: portainer: image: portainer/portainer-ce + container_name: "portainer.esin.io" environment: - "TZ=Asia/Shanghai" labels: @@ -16,9 +17,10 @@ services: - "traefik.http.services.portainer.loadbalancer.server.port=9000" volumes: - ./data:/data + - /var/run/docker.sock:/var/run/docker.sock networks: - traefik - + networks: traefik: external: true