initial
This commit is contained in:
parent
4ea6f0fcf0
commit
285458fd07
2
.env.dist
Normal file
2
.env.dist
Normal file
@ -0,0 +1,2 @@
|
||||
NEXUS_DATA_PATH="/path/to/data"
|
||||
NEXUS_EXTERNAL_IP="127.0.0.1"
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.env
|
17
docker-compose.yaml
Normal file
17
docker-compose.yaml
Normal file
@ -0,0 +1,17 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
nexus:
|
||||
image: "sonatype/nexus3"
|
||||
container_name: "nexus"
|
||||
restart: "unless-stopped"
|
||||
logging:
|
||||
driver: "journald"
|
||||
options:
|
||||
tag: "nexus"
|
||||
volumes:
|
||||
- "${NEXUS_DATA_PATH}:/nexus-data"
|
||||
ports:
|
||||
- "${NEXUS_EXTERNAL_IP}:8081:8081"
|
||||
- "${NEXUS_EXTERNAL_IP}:8082:8082"
|
||||
- "127.0.0.1:8081:8081"
|
Loading…
Reference in New Issue
Block a user