Skip to content
This repository was archived by the owner on Nov 6, 2025. It is now read-only.

WindoC/nginx-npm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ Deprecation Notice

This repository and image are no longer maintained, as I no longer use them personally. Without ongoing testing, I do not feel confident releasing this image publicly.

nginx

nginx prepare for working with Nginx Proxy Manager (NPM) together.

debug

docker build -t nginx-npm .

# test run
docker run -it --rm nginx-npm

Stack config

version: "3.7"

volumes:

  data:

  letsencrypt:

networks:

  host:
    external:
      name: "host"

services:

  manager:
    image: jc21/nginx-proxy-manager:latest
    ports:
     - '81:81'
    environment:
      TZ: Asia/Hong_Kong
    volumes:
      - data:/data
      - letsencrypt:/etc/letsencrypt
    deploy:
      mode: replicated
      replicas: 1
      restart_policy:
        condition: on-failure
    logging:
      options:
        max-size: "10m"
        max-file: "3"

  worker:
    image: windoac/nginx-npm:latest
    networks:
      - host
    environment:
      TZ: Asia/Hong_Kong
    volumes:
      - data:/data
      - letsencrypt:/etc/letsencrypt
    deploy:
      #mode: global
      mode: replicated
      replicas: 1
      restart_policy:
        condition: on-failure
    logging:
      options:
        max-size: "10m"
        max-file: "3"

About

nginx prepare for working with Nginx Proxy Manager (NPM) together.

Topics

Resources

Stars

Watchers

Forks

Packages