Skip to content

Docker Deployment

Run Valkey Admin using Docker or Docker Compose for a zero-install web deployment.

Valkey Admin images are published to the following registries:

RegistryImage
GitHub Container Registryghcr.io/valkey-io/valkey-admin
Docker Hubvalkey/valkey-admin
Amazon ECR Public Gallerypublic.ecr.aws/valkey/valkey-admin
Terminal window
docker pull valkey/valkey-admin:latest

Create a docker-compose.yml:

services:
valkey-admin:
image: valkey/valkey-admin:latest
ports:
- "8080:8080"
environment:
DEPLOYMENT_MODE: Web
restart: unless-stopped

Start the service:

Terminal window
docker compose up -d

Open http://localhost:8080 and add a connection to your Valkey instance through the UI.

To auto-start metrics collection on startup, provide cluster connection details as environment variables:

services:
valkey-admin:
image: valkey/valkey-admin:latest
ports:
- "8080:8080"
environment:
DEPLOYMENT_MODE: Web
VALKEY_HOST: my-valkey-host.example.com
VALKEY_PORT: 6379
VALKEY_TLS: "true"
VALKEY_AUTH_TYPE: password
VALKEY_USERNAME: myuser
VALKEY_PASSWORD: mypassword
restart: unless-stopped

To override the default metrics collection and retention settings, mount a custom config.yml:

services:
valkey-admin:
image: valkey/valkey-admin:latest
ports:
- "8080:8080"
environment:
DEPLOYMENT_MODE: Web
CONFIG_PATH: /app/custom-config.yml
volumes:
- ./my-config.yml:/app/custom-config.yml:ro
restart: unless-stopped

See the Metrics Configuration page for available options.

In Docker (Web) mode, Valkey Admin spawns a metrics server process per primary node. See Resource Sizing for formulas, recommendations, and retention guidance.

See the Configuration section for all available environment variables.