Docker - nginx-proxy-manager 추가

This commit is contained in:
dsk-minchulahn
2024-01-22 14:48:14 +09:00
parent 8ba8012f68
commit ee98560cf0

View File

@@ -0,0 +1,34 @@
version: '3.8'
services:
app:
image: 'jc21/nginx-proxy-manager:latest'
privileged: true
restart: unless-stopped
ports:
# These ports are in format <host-port>:<container-port>
- '80:80' # Public HTTP Port
- '443:443' # Public HTTPS Port
- '81:81' # Admin Web Port
# Add any other Stream port you want to expose
# - '21:21' # FTP
- '3023:3023' # Teleport All clients
- '3024:3024' # Teleport Auth Service
- '3025:3025' # Teleport All Teleport services
# 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"
# Uncomment this if IPv6 is not enabled on your host
# DISABLE_IPV6: 'true'
volumes:
- /mnt/storage/nginx-proxy-manager/data:/data
- /mnt/storage/nginx-proxy-manager/letsencrypt:/etc/letsencrypt
networks:
default:
external:
name: nginx-proxy-manager