• docker编排


    nginx-proxy:
      image: index.docker.io/jwilder/nginx-proxy:latest
      restart: always
      ports:
      - 443:443
      - 80:80
      volumes:
      - /data/docker/nginx_proxy/certs:/etc/nginx/certs:ro
      - /var/run/docker.sock:/tmp/docker.sock:ro
      - /etc/nginx/vhost.d
      - /usr/share/nginx/html
      labels:
      - com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy
    letsencrypt:
      image: index.docker.io/jrcs/letsencrypt-nginx-proxy-companion:latest
      volumes_from:
      - nginx-proxy
      volumes:
      - /data/docker/nginx_proxy/certs:/etc/nginx/certs
      - /var/run/docker.sock:/var/run/docker.sock:ro
    oj_wxy1_cn:
      image: index.docker.io/shiningrise/hustoj:latest
      restart: always
      privileged: true
      tty: true
      volumes:
      - /data/docker/oj.wxy1.cn:/data
      environment:
      - TZ=Asia/Shanghai
      - VIRTUAL_HOST=wxy.work,oj.wxy1.cn
      - LETSENCRYPT_HOST=wxy.work,oj.wxy1.cn
      - LETSENCRYPT_EMAIL=shiningrise@qq.com
    soft_wuxiaoyang_cn:
      image: nginx:1.20.0
      privileged: true
      restart: always
      environment:
      - VIRTUAL_HOST=soft.wuxiaoyang.cn
      - LETSENCRYPT_HOST=soft.wuxiaoyang.cn
      - LETSENCRYPT_EMAIL=shiningrise@qq.com
      volumes:
      - /data/soft.wuxiaoyang.cn:/usr/share/nginx/html
    eschoolweb:
      image: nginx:1.14.0
      privileged: true
      restart: always
      tty: true
      environment:
      - TZ=Asia/Shanghai
      - VIRTUAL_HOST=e.wxy.work
      - LETSENCRYPT_HOST=e.wxy.work
      - LETSENCRYPT_EMAIL=shiningrise@qq.com
      volumes:
      - /data/docker/eschool/web:/usr/share/nginx/html
  • 相关阅读:
    4.单例模式
    3.适配器模式
    2.策略模式
    1.工厂模式
    机器学习
    何为技术领导力
    图像像素的算术操作
    图像对象创建和赋值的区别
    图像色彩空间转换
    notepad更改文档编码格式
  • 原文地址:https://www.cnblogs.com/shiningrise/p/14749504.html
Copyright © 2020-2023  润新知