From 85dd4004a8c82f4c316b82521fa879b6bb1117ce Mon Sep 17 00:00:00 2001 From: Zengtudor Date: Sat, 2 Nov 2024 20:15:45 +0800 Subject: [PATCH] update --- .env | 1 + docker-compose.yaml | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 .env create mode 100644 docker-compose.yaml diff --git a/.env b/.env new file mode 100644 index 0000000..1eb8807 --- /dev/null +++ b/.env @@ -0,0 +1 @@ +NGINX_PATH=/root/nginx \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..5bac53a --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,27 @@ +services: + nginx_manager: + image: 'jc21/nginx-proxy-manager:latest' + restart: unless-stopped + ports: + # These ports are in format : + - '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" + + # Uncomment this if IPv6 is not enabled on your host + DISABLE_IPV6: 'true' + + volumes: + - $NGINX_PATH/data:/data + - $NGINX_PATH/letsencrypt:/etc/letsencrypt + +networks: + nginx: