diff --git a/docker-compose.yaml b/docker-compose.yaml index 566ff4f..572ec24 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,15 +1,18 @@ services: portainer: - image: portainer/portainer-ce:latest container_name: portainer + image: portainer/portainer-ce:lts restart: always - env_file: - - .env - ports: - - "9443:9443" # HTTPS UI volumes: - - data:/data - /var/run/docker.sock:/var/run/docker.sock + - portainer_data:/data + ports: + - 9443:9443 volumes: - data: \ No newline at end of file + portainer_data: + name: portainer_data + +networks: + default: + name: portainer_network \ No newline at end of file