Metadata-Version: 2.4
Name: fastpluggy-docker
Version: 0.2.42
Summary: Docker management plugin for FastPluggy (containers, services, Swarm)
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: FastPluggy>=0.4.0
Requires-Dist: docker>=6.1.3
Requires-Dist: python-socketio[client]
Provides-Extra: e2e
Requires-Dist: fastpluggy-cli; extra == "e2e"
Provides-Extra: tests
Requires-Dist: pytest>=7.0; extra == "tests"
Requires-Dist: pytest-cov>=4.0; extra == "tests"

# fastpluggy-docker

![Docker](https://img.shields.io/badge/FastPluggy-Docker-blue)
[![Release](https://gitlab.ggcorp.fr/open/fastpluggy/plugins/docker_plugin/-/badges/release.svg)](https://gitlab.ggcorp.fr/open/fastpluggy/plugins/docker_plugin/-/releases)
[![Pipeline Status](https://gitlab.ggcorp.fr/open/fastpluggy/plugins/docker_plugin/badges/main/pipeline.svg?key_text=CI)](https://gitlab.ggcorp.fr/open/fastpluggy/plugins/docker_plugin/-/pipelines?ignore_skipped=true)
[![Coverage](https://gitlab.ggcorp.fr/open/fastpluggy/plugins/docker_plugin/badges/main/coverage.svg)](https://gitlab.ggcorp.fr/open/fastpluggy/plugins/docker_plugin/-/pipelines)

Docker management plugin for FastPluggy — containers, services, and Swarm orchestration.

## Install

```bash
pip install -e .
```

## Usage

Register the plugin in your FastPluggy configuration. Once loaded it exposes:

- Swarm overview dashboard (nodes, services, stacks)
- Container list with status and resource stats
- Service scaling and log viewing
- Compose stack detection and management
- Stack deploy / remove via the UI
- Pagination on all list views (`?page=1&page_size=25`)

## Configuration

All settings are exposed via `DockerSwarmSettings` (environment variables or `.env`):

| Setting | Default | Description |
|---------|---------|-------------|
| `docker_host` | `unix:///var/run/docker.sock` | Docker daemon socket or TCP address |
| `docker_tls_verify` | `false` | Enable TLS verification |
| `docker_cert_path` | — | Path to TLS certificates |

