Fix health check
Some checks are pending
CI/CD Pipeline / Test Backend (push) Waiting to run
CI/CD Pipeline / Test Frontend (push) Waiting to run
CI/CD Pipeline / Build and Push Docker Images (push) Blocked by required conditions
CI/CD Pipeline / Deploy to Production (push) Blocked by required conditions

This commit is contained in:
continuist 2025-06-28 23:20:23 -04:00
parent 2c6597062b
commit 870050d782
2 changed files with 7 additions and 7 deletions

View file

@ -546,7 +546,7 @@ docker compose up -d
exit
```
**Important**: The registry uses standard authentication, but nginx provides intelligent routing to enable public read access for specific operations (manifests, blobs, tags) while requiring authentication for write operations (push, delete). This implements the "public read, authenticated write" model through nginx configuration.
**Important**: The registry uses standard authentication, but nginx provides intelligent routing to enable public read access for specific operations (manifests, blobs, tags) while requiring authentication for write operations (push, delete). This implements the "public read, authenticated write" model through nginx configuration. The health check is performed on nginx (port 8080) since it handles the public access logic.
#### 5.7 Test Registry Setup

View file

@ -14,12 +14,6 @@ services:
restart: unless-stopped
networks:
- registry_network
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "https://localhost:5000/v2/", "--no-check-certificate"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
registry-ui:
image: joxit/docker-registry-ui:latest
@ -48,6 +42,12 @@ services:
restart: unless-stopped
networks:
- registry_network
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "https://localhost:443/v2/_catalog", "--no-check-certificate"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
volumes:
registry_data: