2022-10-06 05:42:23 +00:00
|
|
|
version: "3.7"
|
|
|
|
services:
|
|
|
|
nexus:
|
|
|
|
image: sonatype/nexus3:latest
|
2022-10-06 07:31:09 +00:00
|
|
|
deploy:
|
|
|
|
mode: replicated
|
2022-10-06 14:36:03 +00:00
|
|
|
replicas: 1
|
2022-10-06 05:42:23 +00:00
|
|
|
environment:
|
2022-10-06 07:33:59 +00:00
|
|
|
INSTALL4J_ADD_VM_PARAMS: -Xms128m -Xmx512m -XX:MaxDirectMemorySize=256m
|
2022-10-06 05:42:23 +00:00
|
|
|
container_name: nexus3
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 8081:8081
|
|
|
|
- 8082:8082
|
|
|
|
volumes:
|
2022-10-06 14:00:09 +00:00
|
|
|
- /mnt/nfs/nexus-data:/nexus-data:Z
|