37 lines
744 B
YAML
37 lines
744 B
YAML
services:
|
|
app:
|
|
image: "jc21/nginx-proxy-manager:latest"
|
|
container_name: nginx-proxy-manager
|
|
restart: unless-stopped
|
|
|
|
ports:
|
|
- "80:80" # Public HTTP Port
|
|
- "443:443" # Public HTTPS Port
|
|
- "127.0.0.1:81:81" # Admin Web Port
|
|
# Add any other Stream port you want to expose
|
|
# - '21:21' # FTP
|
|
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
|
|
networks:
|
|
- proxy
|
|
- default
|
|
|
|
environment:
|
|
TZ: "America/New_York"
|
|
DISABLE_IPV6: "true"
|
|
|
|
healthcheck:
|
|
test: ["CMD", "/usr/bin/check-health"]
|
|
interval: 10s
|
|
timeout: 3s
|
|
|
|
volumes:
|
|
- /srv/npm/data:/data
|
|
- /srv/npm/letsencrypt:/etc/letsencrypt
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|