cmf-server
/cmf-server
Wdraża lokalnie serwer CMF przez Docker Compose lub łączy z istniejącym współdzielonym serwerem: plik .env, start kontenerów, weryfikacja interfejsu webowego i wskazanie serwera klientom cmflib.
- Autor
- hewlettpackard ↗
- Repozytorium
- cmf ↗
- Licencja
- Apache-2.0
- Ostatnia zmiana repozytorium
- 15.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 3
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 13
Brak sygnałów. Repozytorium zmienione 15.10.2026, bez odwołań do wycofanych modeli i API.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
Co robi i kiedy
Wdraża lokalnie serwer CMF przez Docker Compose lub łączy z istniejącym współdzielonym serwerem: plik .env, start kontenerów, weryfikacja interfejsu webowego i wskazanie serwera klientom cmflib.
Oryginalny opis (EN)
Use when deploying the CMF Server locally with Docker Compose, or connecting to an existing shared CMF Server. Covers creating the .env file, starting the container stack, verifying the web UI, and pointing cmflib clients at the server. If a server is already running and credentials are available, skip to the connection section.
Jak działa
- Local deployment
- Connecting to an existing CMF Server
- Manage the server
- Upgrade
- Troubleshooting
Podgląd SKILL.md
---
name: cmf-server
description: >
Use when deploying the CMF Server locally with Docker Compose, or connecting to an
existing shared CMF Server. Covers creating the .env file, starting the container
stack, verifying the web UI, and pointing cmflib clients at the server. If a server
is already running and credentials are available, skip to the connection section.
version: 1.0.0
---
First check: **is a CMF Server already running?** If yes, skip to [Connecting to an existing server](#connecting-to-an-existing-cmf-server).
## Local deployment
### Prerequisites
- Docker Engine + Docker Compose plugin
- Host IP or hostname (for `REACT_APP_CMF_API_URL`)
- Ports 80 and 443 free (configurable)
### Step 1 — Clone CMF
```bash
git clone https://github.com/HewlettPackard/cmf
cd cmf
```
### Step 2 — Create `.env`
```env
CMF_DATA_DIR=./data
NGINX_HTTP_PORT=80
NGINX_HTTPS_PORT=443
REACT_APP_CMF_API_URL=http://<your-server-ip>:80
POSTGRES_USER=myuser
POSTGRES_PASSWORD=mypassword # change in production
POSTGRES_DB=mlmd
POSTGRES_HOST=postgres
POSTGRES_PORT=5432
MCP_EXTERNAL_PORT=8382
```
See [references/env-variables.md](references/env-variables.md) for full variable descriptions and common customizations.
### Step 3 — Start
```bash
docker compose -f docker-compose-server.yml up -d
docker compose -f docker-compose-server.yml ps # all services should be healthy within ~60s
```
Services started: `postgres`, `server` (CMF API), `ui` (React), `tensorboard`, `nginx`, `mcp`.
### Step 4 — Verify
```bash
curl http://<your-server-ip>:80/apiv1.0/pipelines
# {"pipelines": []}
```
Open `http://<your-server-ip>:80` in a browser — CMF web UI should load.
### Step 5 — Point clients at the server
On each client machine:
```bash
cmf init local \
--path /path/to/artifact-storage \
--git-remote-url https://github.com/your-org/your-repo.git \
--cmf-server-url http://<your-server-ip>:80
```
---
## Connecting to an existing CMF Server
```bash
cmf init local \
--path /path/to/artifact-storage \
--git-remote-url https://github.com/your-org/your-repo.git \
--cmf-server-url http://<server-url>:<port>
cmf init show # verify the URL is set
cmf metadata pull -p my_pipeline # confirm access
```
The CMF Server uses network-level access control (no built-in username/password by default). If your deployment has an auth proxy, ask the administrator for credentials.
---
## Manage the server
```bash
docker compose -f docker-compose-server.yml stop # stop (data preserved)
docker compose -f docker-compose-server.yml start # restart
docker compose -f docker-compose-server.yml down # remove containers (data preserved in CMF_DATA_DIR)
# Destructive — backup CMF_DATA_DIR first!
docker compose -f docker-compose-server.yml down -v && rm -rf ./data
```
## Upgrade
```bash
git pull
docker compose -f docker-compose-server.yml build --no-cache
docker compose -f docker-compose-server.yml up -d
```
## Troubleshooting
- **`REACT_APP_CMF_API_URL` not set** — required; set to the host's IP/hostname
- **Port 80 in use** — change `NGINX_HTTP_PORT` and update `REACT_APP_CMF_API_URL` to match
- **`postgres` not healthy** — check `docker compose -f docker-compose-server.yml logs postgres`; usually a `CMF_DATA_DIR` permissions issue
- **UI loads but API calls fail** — use the host IP, not `localhost`, in `REACT_APP_CMF_API_URL`; must be reachable from the browser
- **MCP server not reachable** — check `MCP_EXTERNAL_PORT` in `.env` and confirm it is not blocked by a firewall; test with `curl http://<server-ip>:<MCP_EXTERNAL_PORT>/health`
- **Clients cannot push metadata** — confirm `cmf init show` shows the correct server URL; verify with `curl http://<server-ip>:80/apiv1.0/pipelines`
---
**Docs:** [Installation Guide](https://hewlettpackard.github.io/cmf/setup/) · [CMF Client Guide](https://hewlettpackard.github.io/cmf/cmf_client/) · [Web UI Reference](https://hewlettpackard.github.io/cmf/ui/lineage/)
Pliki w paczce (3)
- SKILL.md 4 KB
- sources.md 1 KB
- references/env-variables.md 2 KB
Wersje
W bazie nie ma innych skilli o nazwie cmf-server.
Migawka bazy z 13.11.2026 · wersja paczki aa258ead4514 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100cmf
Prowadzi pracę z Common Metadata Framework (CMF): inicjalizacja w projekcie, instrumentacja potoków ML, synchronizacja metadanych z serwerem CMF, zapytania o lineage i konfiguracja serwera MCP. - 100cmf-mcp
Konfiguruje serwer CMF MCP, aby asystent kodowania AI mógł odpytywać metadane CMF w języku naturalnym: wdrożenie w Dockerze, konfiguracja dla Claude Code, GitHub Copilot, Cursor i Codex oraz przykładowe prompty. - 90deploy-docker-compose
Uruchamia serwer Omnigent jako stos Docker Compose z Postgresem na dowolnym hoście Docker, od laptopa po serwer VPS. - 100generating-docker-compose-files
Generuje pliki Docker Compose dla aplikacji wielokontenerowych. - 100generating-docker-compose-files
Generuje pliki Docker Compose dla aplikacji wielokontenerowych. - 100run-mcp-local
Uruchamia lokalnie serwer MCP FutureSearch w Docker Compose, opcjonalnie przez tunel Cloudflare, i pokazuje, jak sprawdzić logi.