24 lines
742 B
YAML
24 lines
742 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
nginx-proxy-manager:
|
|
container_name: nginx-proxy-manager
|
|
image: jc21/nginx-proxy-manager:latest
|
|
restart: unless-stopped
|
|
ports:
|
|
- "80:80/tcp" # HTTP traffic
|
|
- "443:443/tcp" # HTTPS traffic + certs
|
|
- "81:81/tcp" # Admin UI (change if you want to hide it)
|
|
environment:
|
|
TZ: America/New_York
|
|
SUPPRESS_NO_CONFIG_WARNING: "1"
|
|
NODE_ENV: production
|
|
NODE_OPTIONS: --openssl-legacy-provider
|
|
# Add any custom env if you use CrowdSec or other integrations
|
|
volumes:
|
|
- "/data/compose/12/data:/data"
|
|
- "/data/compose/12/letsencrypt:/etc/letsencrypt"
|
|
working_dir: "/app"
|
|
entrypoint: ["/init"]
|
|
logging:
|
|
driver: json-file |