From accf50703cc59b7e41f10f7b1a58e91daf1c5e06 Mon Sep 17 00:00:00 2001 From: Tobias Nauen <53979841+tobna@users.noreply.github.com> Date: Sat, 26 Apr 2025 09:33:58 +0200 Subject: [PATCH] Create nginx.yaml --- nginx.yaml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 nginx.yaml diff --git a/nginx.yaml b/nginx.yaml new file mode 100644 index 0000000..009f99c --- /dev/null +++ b/nginx.yaml @@ -0,0 +1,34 @@ +version: '3.8' + +networks: + frontend: + # add this if the network is already existing! + external: true + +services: + app: + image: 'jc21/nginx-proxy-manager:latest' + restart: unless-stopped + ports: + # These ports are in format : + - '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 + + # 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: + - /server_data/npm/db:/data + - /server_data/npm/ssl:/etc/letsencrypt + + networks: + - frontend