fix(dex): point deploys and docs at ghcr.io/luxfi/dex

Helm values, the staging and production manifests, and the operations
guide name the image .github/workflows/docker.yml publishes, so a
rollout pulls and a copied `docker pull` resolves.

deploy.sh deploys that published image; CI owns the multi-arch build.
The image table lists the tag the Dockerfile produces.
This commit is contained in:
2026-09-11 13:47:49 -07:00
parent 95a7e42332
commit fccdf64c5d
6 changed files with 18 additions and 43 deletions
+8 -13
View File
@@ -13,21 +13,16 @@ This guide covers deploying LX using Docker, Docker Compose, and Kubernetes.
| Image | Description | Size |
|-------|-------------|------|
| `registry.lux.network/lxdex:latest` | Standard image | ~50MB |
| `registry.lux.network/lxdex:gpu` | CUDA GPU support | ~2GB |
| `registry.lux.network/lxdex:fpga` | FPGA support | ~100MB |
| `ghcr.io/luxfi/dex:latest` | Standard image | ~50MB |
### Pull Images
```bash
# Latest stable
docker pull registry.lux.network/lxdex:latest
docker pull ghcr.io/luxfi/dex:latest
# Specific version
docker pull registry.lux.network/lxdex:v1.0.0
# GPU-enabled
docker pull registry.lux.network/lxdex:v1.0.0-gpu
docker pull ghcr.io/luxfi/dex:v1.0.0
```
## Dockerfile
@@ -173,7 +168,7 @@ volumes:
# compose.yml
services:
lxdex-node-0:
image: registry.lux.network/lxdex:v1.0.0
image: ghcr.io/luxfi/dex:v1.0.0
container_name: lxdex-node-0
hostname: lxdex-node-0
ports:
@@ -213,7 +208,7 @@ services:
restart: always
lxdex-node-1:
image: registry.lux.network/lxdex:v1.0.0
image: ghcr.io/luxfi/dex:v1.0.0
container_name: lxdex-node-1
hostname: lxdex-node-1
ports:
@@ -237,7 +232,7 @@ services:
restart: always
lxdex-node-2:
image: registry.lux.network/lxdex:v1.0.0
image: ghcr.io/luxfi/dex:v1.0.0
container_name: lxdex-node-2
hostname: lxdex-node-2
ports:
@@ -541,7 +536,7 @@ spec:
topologyKey: kubernetes.io/hostname
containers:
- name: lxdex
image: registry.lux.network/lxdex:v1.0.0
image: ghcr.io/luxfi/dex:v1.0.0
imagePullPolicy: Always
command: ["/usr/local/bin/luxd"]
args:
@@ -800,7 +795,7 @@ helm upgrade lxdex lux/lxdex \
replicaCount: 3
image:
repository: registry.lux.network/lxdex
repository: ghcr.io/luxfi/dex
tag: v1.0.0
pullPolicy: Always
+2 -2
View File
@@ -92,7 +92,7 @@ chmod +x luxd
```bash
# Pull official image
docker pull registry.lux.network/lxdex:latest
docker pull ghcr.io/luxfi/dex:latest
# Run single node
docker run -d \
@@ -101,7 +101,7 @@ docker run -d \
-p 8081:8081 \
-p 9090:9090 \
-v lxdex-data:/data \
registry.lux.network/lxdex:latest
ghcr.io/luxfi/dex:latest
# Check health
curl http://localhost:8080/health
+1 -1
View File
@@ -2,7 +2,7 @@
replicaCount: 3
image:
repository: registry.lux.network/lxdex
repository: ghcr.io/luxfi/dex
pullPolicy: IfNotPresent
tag: "v1.0.0"
+1 -1
View File
@@ -33,7 +33,7 @@ spec:
topologyKey: kubernetes.io/hostname
containers:
- name: lxdex
image: registry.lux.network/lxdex:v1.0.0
image: ghcr.io/luxfi/dex:v1.0.0
imagePullPolicy: Always
command: ["/bin/luxd"]
args:
+1 -1
View File
@@ -19,7 +19,7 @@ spec:
spec:
containers:
- name: lxdex
image: registry.lux.network/lxdex:staging
image: ghcr.io/luxfi/dex:staging
imagePullPolicy: Always
ports:
- containerPort: 8080
+5 -25
View File
@@ -3,6 +3,9 @@ set -euo pipefail
# LX Deployment Script
# Usage: ./deploy.sh [staging|production] [action]
#
# Deploys the ghcr.io/luxfi/dex image that .github/workflows/docker.yml publishes.
# Tag comes from `git describe`, so deploy from a commit whose tag CI has built.
ENVIRONMENT=${1:-staging}
ACTION=${2:-deploy}
@@ -35,33 +38,11 @@ check_prerequisites() {
command -v kubectl >/dev/null 2>&1 || error "kubectl is not installed"
command -v helm >/dev/null 2>&1 || error "helm is not installed"
command -v docker >/dev/null 2>&1 || error "docker is not installed"
# Check kubectl connection
kubectl cluster-info >/dev/null 2>&1 || error "kubectl is not configured or cluster is unreachable"
log "Prerequisites check passed"
}
# Build and push Docker images
build_images() {
log "Building Docker images..."
# Build dexd image (canonical Dockerfile, CPU)
docker build -f Dockerfile -t registry.lux.network/lxdex:${VERSION} .
docker build -f Dockerfile -t registry.lux.network/lxdex:${ENVIRONMENT} .
# Build UI image
docker build -f docker/ui/Dockerfile -t registry.lux.network/lxdex-ui:${VERSION} ./ui
docker build -f docker/ui/Dockerfile -t registry.lux.network/lxdex-ui:${ENVIRONMENT} ./ui
log "Pushing images to registry..."
docker push registry.lux.network/lxdex:${VERSION}
docker push registry.lux.network/lxdex:${ENVIRONMENT}
docker push registry.lux.network/lxdex-ui:${VERSION}
docker push registry.lux.network/lxdex-ui:${ENVIRONMENT}
log "Images built and pushed successfully"
log "Prerequisites check passed"
}
# Deploy using kubectl
@@ -211,7 +192,6 @@ main() {
fi
fi
build_images
deploy_helm # or deploy_kubectl
run_tests
show_status