3 changed files with 41 additions and 1 deletions
@ -0,0 +1,21 @@ |
|||||||
|
# PROJECT: dolphin |
||||||
|
# VERSION: 1.0.0 |
||||||
|
# Author: wangxiang4 |
||||||
|
# Maven私有库 |
||||||
|
# https://github.com/sonatype/docker-nexus3 |
||||||
|
# https://registry.hub.docker.com/r/sonatype/nexus3 |
||||||
|
# password is kanglai@2023 |
||||||
|
version: "3" |
||||||
|
services: |
||||||
|
nexus: |
||||||
|
image: sonatype/nexus3:3.58.1 |
||||||
|
container_name: nexus |
||||||
|
hostname: nexus |
||||||
|
restart: always |
||||||
|
ports: |
||||||
|
- 7779:8081 |
||||||
|
volumes: |
||||||
|
- nexus-data:/nexus-data |
||||||
|
|
||||||
|
volumes: |
||||||
|
nexus-data: {} |
@ -0,0 +1,19 @@ |
|||||||
|
# PROJECT: dolphin |
||||||
|
# VERSION: 1.0.0 |
||||||
|
# Author: wangxiang4 |
||||||
|
# https://hub.docker.com/_/zookeeper |
||||||
|
version: "3" |
||||||
|
services: |
||||||
|
zookeeper: |
||||||
|
image: zookeeper:3.4.14 |
||||||
|
container_name: zookeeper |
||||||
|
hostname: zookeeper |
||||||
|
restart: always |
||||||
|
environment: |
||||||
|
- ZOO_MAX_CLIENT_CNXNS=200 |
||||||
|
volumes: |
||||||
|
- /usr/software/dockerDatabase/zookeeper/data:/data |
||||||
|
- /usr/software/dockerDatabase/zookeeper/config:/conf |
||||||
|
- /usr/software/dockerDatabase/zookeeper/logs:/datalog |
||||||
|
ports: |
||||||
|
- 2181:2181 |
Loading…
Reference in new issue