# Portainer can not use .env for the reason that then environments at .env may cover other stacks's .env version: "3.8" services: portainer: container_name: websoft9-deployment image: websoft9dev/deployment:2.19.0 restart: always ports: - 9001-9999:9000 volumes: - deployment:/data - /var/run/docker.sock:/var/run/docker.sock labels: com.docker.compose.w9_http.port: 9000 networks: default: name: websoft9 external: true volumes: deployment: