library/nexus/3-alpine/docker-compose.yml

19 lines
364 B
YAML
Raw Permalink Normal View History

2019-05-12 05:29:45 +00:00
version: "3"
services:
nexus:
restart: always
image: docker.loafle.net/library/nexus:3.16.1-02-alpine
container_name: nexus3
environment:
JAVA_MIN_MEM: "1200M"
JAVA_MAX_MEM: "1200M"
volumes:
- /service/nexus/data:/nexus-data
ports:
- "8081:8081"
ulimits:
nofile:
soft: 65536
hard: 65536