build: non-root USER, curl HEALTHCHECK, Nexus healthcheck in compose
This commit is contained in:
@@ -32,6 +32,12 @@ services:
|
||||
volumes:
|
||||
- nexus-data:/nexus-data
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-sf", "http://localhost:8081/service/rest/v1/status"]
|
||||
interval: 15s
|
||||
timeout: 5s
|
||||
start_period: 60s
|
||||
retries: 10
|
||||
|
||||
nexus-setup:
|
||||
image: alpine:3.21
|
||||
|
||||
Reference in New Issue
Block a user