Files
automation/docker-stacks/app-server/nexus.yml
2026-04-11 09:51:19 +02:00

15 lines
416 B
YAML

version: '3.8'
services:
nexus:
image: sonatype/nexus3:latest
container_name: nexus-mirror
restart: always
ports:
- "4009:8081"
- "4010:8082"
environment:
# Memory limits: Adjust based on your VM capacity
- INSTALL4J_ADD_VM_PARAMS=-Xms2g -Xmx2g -XX:MaxDirectMemorySize=2g -Dnexus.secrets.file=/nexus-data/nexus.secrets.json
volumes:
- ./nexus-data:/nexus-data