This repository contains a custom image built on top of the official jc21/nginx-proxy-manager, with additional services and configurations to meet advanced deployment requirements.
jc21/nginx-proxy-manager:latest--platform=linux/amd64This custom image extends the functionality of Nginx Proxy Manager by introducing:
REDIS_HOSTREDIS_PORTREDIS_PASSWORDREDIS_HOST, REDIS_PORT, REDIS_PASSWORDRSYSLOG_SERVER_IP, 514version: '3.7'
services:
npm:
image: 1linkpro/npm:latest
environment:
INITIAL_ADMIN_EMAIL: [email protected]
INITIAL_ADMIN_PASSWORD: strongpassword
REDIS_HOST: redis-nginx
REDIS_PORT: 6379
RSYSLOG_SERVER_IP: rsyslog
volumes:
- /mnt/docker_volumes/npm_data:/data #Must be a Shared volume
- /mnt/docker_volumes/npm_certificates:/etc/letsencrypt #Must be a Shared volume
- npm_logs:/data/logs #Volume Local
ports:
- "80:80"
- "443:443"
- "81:81"
networks:
- public
redis-nginx:
image: redis:alpine
networks:
- public
rsyslog:
image: rwestergren/simple-docker-rsyslog:latest
volumes:
- /mnt/docker_volumes/nginx-logs.conf:/etc/rsyslog.d/nginx-logs.conf #Config to parser logs, must be a Shared volume
- /mnt/docker_volumes/nginx_logs:/var/tmp #Must be a Shared volume
restart: unless-stopped
networks:
- public
volumes:
npm_logs:
driver: local
name: npm_logs
networks:
public:
external: true
# Ignore HealthCheck Load Balancer
if $msg contains "HCLB-HealthCheck" then stop
# Template to parser original log
template(name="RawLogFormat" type="string" string="%msg:2:$%\n")
# Template to save logs
template(name="AccessFile" type="string" string="/var/tmp/proxy-host-1_access.log")
template(name="ErrorFile" type="string" string="/var/tmp/proxy-host-1_error.log")
# Access Log
if $programname startswith 'proxy-host-access' then ?AccessFile;RawLogFormat
# Error log
if $programname startswith 'proxy-host-error' then ?ErrorFile;RawLogFormat
Centralized Logging:
Scalable Synchronization:
Real-Time Analytics:
High Performance:
Contributions are welcome! If you encounter any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.
Content type
Image
Digest
sha256:a24d07d37…
Size
361.1 MB
Last updated
11 months ago
docker pull 1linkpro/npm