30 lines
846 B
YAML
30 lines
846 B
YAML
services:
|
|
nginx_manager:
|
|
image: 'jc21/nginx-proxy-manager:latest'
|
|
restart: unless-stopped
|
|
ports:
|
|
# These ports are in format <host-port>:<container-port>
|
|
- '81:80' # Public HTTP Port
|
|
- '444:443' # Public HTTPS Port
|
|
- '8081:81' # Admin Web Port
|
|
# Add any other Stream port you want to expose
|
|
# - '21:21' # FTP
|
|
|
|
# Uncomment the next line if you uncomment anything in the section
|
|
environment:
|
|
# Uncomment this if you want to change the location of
|
|
# the SQLite DB file within the container
|
|
DB_SQLITE_FILE: "/data/database.sqlite"
|
|
TZ: Asia/Shanghai
|
|
|
|
# Uncomment this if IPv6 is not enabled on your host
|
|
DISABLE_IPV6: 'true'
|
|
|
|
volumes:
|
|
- $NGINX_PATH/data:/data
|
|
- $NGINX_PATH/letsencrypt:/etc/letsencrypt
|
|
|
|
networks:
|
|
default:
|
|
name: nginx
|