apm
This commit is contained in:
@ -1,14 +0,0 @@
|
|||||||
FROM harbor.sino-assist.com/marsal1212/java11:latest
|
|
||||||
|
|
||||||
ADD dhsdk /dhsdk
|
|
||||||
|
|
||||||
WORKDIR /dhsdk
|
|
||||||
|
|
||||||
RUN echo 'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/dhsdk:/dhsdk/lib'>>/etc/profile \
|
|
||||||
&& /bin/bash -c 'source /etc/profile'
|
|
||||||
|
|
||||||
CMD ["java","--version"]
|
|
||||||
|
|
||||||
# 打包之前先解压dhsdk.zip文件
|
|
||||||
# docker build -f Dockerfile -t harbor.sino-assist.com/marsal1212/dhsdk-java11:latest .
|
|
||||||
# 是为了gps-pass中的大华sdk单独做的镜像
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
builder-docker/java11/.DS_Store
vendored
Normal file
BIN
builder-docker/java11/.DS_Store
vendored
Normal file
Binary file not shown.
Binary file not shown.
12
docker-swarm/minio/README
Normal file
12
docker-swarm/minio/README
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
|
||||||
|
# es index生命周期参考 https://developer.aliyun.com/article/793119,为索引配置索引模板即可,索引模板中添加ilm
|
||||||
|
# {
|
||||||
|
# "index": {
|
||||||
|
# "lifecycle": {
|
||||||
|
# "name": "90-days-default"
|
||||||
|
# }
|
||||||
|
# }
|
||||||
|
# }
|
||||||
|
|
||||||
|
|
||||||
|
env $(cat ./env_crm1 | xargs) envsubst < ./docker-compose.yml | docker stack deploy --compose-file - crm1_log --with-registry-auth
|
35
docker-swarm/minio/docker-compose.yml
Normal file
35
docker-swarm/minio/docker-compose.yml
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
version: '3.8'
|
||||||
|
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
name: ${NAMESPACE}
|
||||||
|
external: true
|
||||||
|
services:
|
||||||
|
minio:
|
||||||
|
image: docker.io/bitnami/minio:2023
|
||||||
|
hostname: ${NAMESPACE}-minio
|
||||||
|
ports:
|
||||||
|
- '${NODE_PORT}:9000'
|
||||||
|
- '${NODE_PORT_1}:9001'
|
||||||
|
environment:
|
||||||
|
# 时区上海
|
||||||
|
TZ: Asia/Shanghai
|
||||||
|
# 管理后台用户名
|
||||||
|
MINIO_ROOT_USER: ${MINIO_ROOT_USER}
|
||||||
|
# 管理后台密码,最小8个字符
|
||||||
|
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD}
|
||||||
|
volumes:
|
||||||
|
- 'data:/data'
|
||||||
|
deploy:
|
||||||
|
update_config:
|
||||||
|
order: start-first
|
||||||
|
placement:
|
||||||
|
constraints:
|
||||||
|
- node.labels.${NAMESPACE}_minio==1
|
||||||
|
volumes:
|
||||||
|
data:
|
||||||
|
driver: local
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
5
docker-swarm/minio/env_crm1
Normal file
5
docker-swarm/minio/env_crm1
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
NAMESPACE=crm1
|
||||||
|
NODE_PORT=9000
|
||||||
|
NODE_PORT_1=9001
|
||||||
|
MINIO_ROOT_USER=minioadmin
|
||||||
|
MINIO_ROOT_PASSWORD=gkxl###650
|
5
docker-swarm/minio/env_review
Normal file
5
docker-swarm/minio/env_review
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
NAMESPACE=review
|
||||||
|
NODE_PORT=9000
|
||||||
|
NODE_PORT_1=9001
|
||||||
|
MINIO_ROOT_USER=minioadmin
|
||||||
|
MINIO_ROOT_PASSWORD=gkxl###650
|
Reference in New Issue
Block a user