Coder

Welcome to Jiang Jun Jie’s Site.

  • Do give a 🌟 on Github !

Ruoyi

Contine 1,2,3

July 20, 2023 · 1 min · 2 words · Jiang Jun Jie

Docker Aliyun Webdav

version: '3.3' services: aliyundrive-webdav: container_name: aliyundrive-webdav restart: unless-stopped ports: - '6666:8080' environment: - 'REFRESH_TOKEN=' image: messense/aliyundrive-webdav https://github.com/messense/aliyundrive-webdav

May 30, 2023 · 1 min · Steven Jiang

Docker Yapi

version: '3' services: yapi-web: image: jayfong/yapi:latest container_name: yapi-web ports: - 40001:3000 environment: - YAPI_ADMIN_ACCOUNT=%email% - YAPI_ADMIN_PASSWORD=%password% - YAPI_CLOSE_REGISTER=true - YAPI_DB_SERVERNAME=yapi-mongo - YAPI_DB_PORT=27017 - YAPI_DB_DATABASE=yapi - YAPI_MAIL_ENABLE=false - YAPI_LDAP_LOGIN_ENABLE=false - YAPI_PLUGINS=[] depends_on: - yapi-mongo links: - yapi-mongo restart: unless-stopped yapi-mongo: image: mongo:latest container_name: yapi-mongo volumes: - ./data/db:/data/db expose: - 27017 restart: unless-stopped

May 24, 2023 · 1 min · Steven Jiang

Docker FFmpeg

Dockerfile FROM ubuntu:22.04 RUN apt-get update && apt-get install -y ca-certificates RUN mv /etc/apt/sources.list /etc/apt/sources.list.bak RUN echo "deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy main restricted universe multiverse" >> /etc/apt/sources.list RUN echo "deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-updates main restricted universe multiverse" >> /etc/apt/sources.list RUN echo "deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-backports main restricted universe multiverse" >> /etc/apt/sources.list RUN echo "deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse" >> /etc/apt/sources.list RUN apt-get update && apt-get install -y wget java-common RUN wget https://corretto....

May 11, 2023 · 1 min · Steven Jiang

Redisinsight

version: '3.4' services: redisinsight: image: redislabs/redisinsight:latest container_name: redis-insight environment: - TZ=Asia/Shanghai ports: - "8001:8001" volumes: - redisinsight-data:/db restart: always network_mode: bridge volumes: redisinsight-data: external: false

April 25, 2023 · 1 min · Steven Jiang

Penpot

start https://help.penpot.app/technical-guide/getting-started/#start-penpot wget https://raw.githubusercontent.com/penpot/penpot/main/docker/images/docker-compose.yaml

April 25, 2023 · 1 min · Steven Jiang

Jenkins

docker-compose.yml version: '3.3' services: jenkins: image: jenkins/jenkins:lts restart: unless-stopped privileged: true ports: - 8081:8080 container_name: jenkins volumes: - jenkins_data:/var/jenkins_home - /var/run/docker.sock:/var/run/docker.sock - /usr/local/bin/docker:/usr/local/bin/docker volumes: jenkins_data: external: false

April 25, 2023 · 1 min · Steven Jiang

Hik H5player

vue 项目中使用hik h5player 下载海康h5player安装包 public 文件夹下新建hik_video文件夹,将安装包中的bin文件夹复制到hik_video文件夹下 public 文件夹下index.html。添加如下代码 <script type="text/javascript" src="<%= BASE_URL %>hik_video/h5player.min.js"></script> src\assets 文件夹下新建hik_video文件夹,将安装包中的bin文件夹复制到hik_video文件夹下 src\components 文件夹下新建HikH5Player文件夹,创建index.vue文件 <template> <div id="player" style="width: 800px;height: 600px;"></div> </template> <script> import '@/assets/hik_video/h5player.min.js' import {getPreviewUrl, getPlaybackUrl} from '@/api/data/camera' export default { name: 'hik-h5player', data(){ return { //播放器对象 player: null, splitNum: 1, mode: 1, } }, mounted() { this.createPlayer() this.init() }, methods: { init() { // 设置播放容器的宽高并监听窗口大小变化 window.addEventListener('resize', () => { this.player.JS_Resize() }) }, /** * 初始化播放器 */ createPlayer() { this....

April 13, 2023 · 3 min · Steven Jiang

Openwrt

openclash 旁路由状态下,外网端口映射问题 启用旁路由模式 启用fake-ip tun-混合模式(udp-tun,tcp转发) 黑白名单-绕过核心的来源端口9443

April 10, 2023 · 1 min · Steven Jiang

Glacnes

install as docker container #host docker run -d --name=glances --restart="always" --network=host -e GLANCES_OPT="-w" -v /var/run/docker.sock:/var/run/docker.sock:ro --pid host nicolargo/glances:latest-full #bridge docker run -d --name=glances --restart="always" -p 61208-61209:61208-61209 -e GLANCES_OPT="-w" -v /var/run/docker.sock:/var/run/docker.sock:ro --pid host nicolargo/glances:latest-full

March 24, 2023 · 1 min · Steven Jiang