Sign inSign up

zqh2021/ucm-nginx

By zqh2021

Updated 10 months ago

Cross platform nginx image with nginx_upstream_check_module module

Image
0

300

zqh2021/ucm-nginx repository overview

Reasons for Construction

The free version of nginx's built-in image does not have the nginx_upstream_check_module module, so you need to create your own nginx image.

Version used

The version used is nginx-1.29.3 and nginx_upstream_check_rodule-0.4.0.

Example usage

name: 'nginx-proxy'
services:
  nginx-proxy:
    # ucm: upstream_check_module
    image: 'zqh2021/ucm-nginx:1.29.3.1'
    build:
      context: .
      dockerfile: Dockerfile
      platforms:
        - linux/arm64
    container_name: nginx-proxy
    restart: unless-stopped
    network_mode: bridge
    ports:
      - '80:80'
      - '443:443'
    volumes:
      - ./cert/:/etc/nginx/cert/
      - ./nginx.conf:/etc/nginx/nginx.conf
      - ./conf.d/:/etc/nginx/conf.d/
      - ./log:/var/log/nginx/

构建原由

nginx自带的镜像免费版本没有nginx_upstream_check_module模块,所以自建nginx 镜像。

使用的版本

使用的版本是 nginx-1.29.3、nginx_upstream_check_module-0.4.0。

使用示例

参考上面的示例

Tag summary

Content type

Image

Digest

sha256:f60d16c35

Size

5.4 MB

Last updated

10 months ago

docker pull zqh2021/ucm-nginx:1.27.5.1