Pull Docker images from Nexus connector port 8087
The Docker daemon reaches the Nexus Docker group over the dedicated connector port 8087 (its registry mirror), not the main 8081 HTTP port, which caused HTTPS-to-HTTP pull failures in CI. Repoint all image refs to 171.22.25.73:8087 at the connector root; npm and NuGet stay on 8081. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+11
-10
@@ -1,11 +1,12 @@
|
||||
# Meezi — main stack (Postgres, Redis, API, Dashboard, Website, Koja)
|
||||
#
|
||||
# All images/packages served from local Nexus at 171.22.25.73:8081
|
||||
# Docker images → 171.22.25.73:8081 (docker-group: proxies Docker Hub + MCR)
|
||||
# All images/packages served from local Nexus at 171.22.25.73:
|
||||
# Docker images → 171.22.25.73:8087 (docker-group connector: proxies Docker Hub + MCR)
|
||||
# NuGet → http://171.22.25.73:8081/repository/nuget-group/
|
||||
# npm → http://171.22.25.73:8081/repository/npm-group/
|
||||
#
|
||||
# Docker Desktop: add "insecure-registries": ["171.22.25.73:8081"] to daemon.json
|
||||
# Docker Desktop: add "insecure-registries": ["171.22.25.73:8087"] to daemon.json
|
||||
# (8087 is the Nexus Docker connector port; it serves images at the root path)
|
||||
#
|
||||
# Local dev:
|
||||
# cp .env.example .env
|
||||
@@ -25,7 +26,7 @@
|
||||
|
||||
services:
|
||||
postgres:
|
||||
image: ${POSTGRES_IMAGE:-171.22.25.73:8081/repository/docker-group/postgres:16-alpine}
|
||||
image: ${POSTGRES_IMAGE:-171.22.25.73:8087/postgres:16-alpine}
|
||||
container_name: meezi-db
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
@@ -43,7 +44,7 @@ services:
|
||||
retries: 10
|
||||
|
||||
redis:
|
||||
image: ${REDIS_IMAGE:-171.22.25.73:8081/repository/docker-group/redis:7-alpine}
|
||||
image: ${REDIS_IMAGE:-171.22.25.73:8087/redis:7-alpine}
|
||||
container_name: meezi-redis
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
@@ -64,8 +65,8 @@ services:
|
||||
extra_hosts:
|
||||
- "mirror:host-gateway"
|
||||
args:
|
||||
DOTNET_SDK_IMAGE: ${DOTNET_SDK_IMAGE:-171.22.25.73:8081/repository/docker-group/dotnet/sdk:10.0}
|
||||
DOTNET_ASPNET_IMAGE: ${DOTNET_ASPNET_IMAGE:-171.22.25.73:8081/repository/docker-group/dotnet/aspnet:10.0}
|
||||
DOTNET_SDK_IMAGE: ${DOTNET_SDK_IMAGE:-171.22.25.73:8087/dotnet/sdk:10.0}
|
||||
DOTNET_ASPNET_IMAGE: ${DOTNET_ASPNET_IMAGE:-171.22.25.73:8087/dotnet/aspnet:10.0}
|
||||
container_name: meezi-api
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
@@ -110,7 +111,7 @@ services:
|
||||
extra_hosts:
|
||||
- "mirror:host-gateway"
|
||||
args:
|
||||
NODE_IMAGE: ${NODE_IMAGE:-171.22.25.73:8081/repository/docker-group/node:20-alpine}
|
||||
NODE_IMAGE: ${NODE_IMAGE:-171.22.25.73:8087/node:20-alpine}
|
||||
NPM_REGISTRY: ${NPM_REGISTRY:-http://171.22.25.73:8081/repository/npm-group/}
|
||||
NEXT_PUBLIC_API_URL: ${NEXT_PUBLIC_API_URL:-http://localhost:5080}
|
||||
container_name: meezi-web
|
||||
@@ -131,7 +132,7 @@ services:
|
||||
extra_hosts:
|
||||
- "mirror:host-gateway"
|
||||
args:
|
||||
NODE_IMAGE: ${NODE_IMAGE:-171.22.25.73:8081/repository/docker-group/node:20-alpine}
|
||||
NODE_IMAGE: ${NODE_IMAGE:-171.22.25.73:8087/node:20-alpine}
|
||||
NPM_REGISTRY: ${NPM_REGISTRY:-http://171.22.25.73:8081/repository/npm-group/}
|
||||
MEEZI_API_URL: http://api:8080
|
||||
NEXT_PUBLIC_SITE_URL: ${NEXT_PUBLIC_SITE_URL:-http://localhost:3010}
|
||||
@@ -155,7 +156,7 @@ services:
|
||||
extra_hosts:
|
||||
- "mirror:host-gateway"
|
||||
args:
|
||||
NODE_IMAGE: ${NODE_IMAGE:-171.22.25.73:8081/repository/docker-group/node:20-alpine}
|
||||
NODE_IMAGE: ${NODE_IMAGE:-171.22.25.73:8087/node:20-alpine}
|
||||
NPM_REGISTRY: ${NPM_REGISTRY:-http://171.22.25.73:8081/repository/npm-group/}
|
||||
NEXT_PUBLIC_API_URL: ${NEXT_PUBLIC_API_URL:-http://localhost:5080}
|
||||
NEXT_PUBLIC_SITE_URL: ${NEXT_PUBLIC_KOJA_URL:-http://localhost:3103}
|
||||
|
||||
Reference in New Issue
Block a user