This commit is contained in:
TerenceLau 2022-10-06 05:42:23 +00:00
parent 9dc5ea0541
commit ae47f35e96
1 changed files with 13 additions and 0 deletions

13
nexus/docker-compose.yml Normal file
View File

@ -0,0 +1,13 @@
version: "3.7"
services:
nexus:
image: sonatype/nexus3:latest
environment:
INSTALL4J_ADD_VM_PARAMS: -Xms128m -Xmx512m -XX:MaxDirectMemorySize=256m
container_name: nexus3
restart: always
ports:
- 8081:8081
- 8082:8082
volumes:
- ./data:/nexus-data