docker swarm
This commit is contained in:
21
docker-compose-3.111/nexus/docker-compose.yml
Normal file
21
docker-compose-3.111/nexus/docker-compose.yml
Normal file
@ -0,0 +1,21 @@
|
||||
networks:
|
||||
nexus:
|
||||
external: false
|
||||
services:
|
||||
db:
|
||||
image: sonatype/nexus3:3.49.0
|
||||
networks:
|
||||
- nexus
|
||||
ports:
|
||||
- 8081:8081
|
||||
- 8082:8082
|
||||
- 8083:8083
|
||||
- 8084:8084
|
||||
privileged: true
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
- NEXUS_DATA=/nexus-data
|
||||
volumes:
|
||||
- ./nexus:/nexus-data
|
||||
|
||||
|
Reference in New Issue
Block a user