2024-11-02 12:15:45 +00:00
|
|
|
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"
|
2024-11-02 12:30:29 +00:00
|
|
|
TZ: Asia/Shanghai
|
2024-11-02 12:15:45 +00:00
|
|
|
|
|
|
|
# Uncomment this if IPv6 is not enabled on your host
|
|
|
|
DISABLE_IPV6: 'true'
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
- $NGINX_PATH/data:/data
|
|
|
|
- $NGINX_PATH/letsencrypt:/etc/letsencrypt
|
|
|
|
|
|
|
|
networks:
|
2024-11-02 12:38:16 +00:00
|
|
|
default:
|
|
|
|
name: nginx
|