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