From e6a55c1e01a22e6bfc3f2e50d7f1a892f4845e64 Mon Sep 17 00:00:00 2001 From: SDGDen Date: Wed, 4 Mar 2026 06:55:29 +0100 Subject: [PATCH] test release 1: debugging main script --- README.md | 0 deploy.sh | 33 ++++++++- .../dashboard => scripts}/heimdall-config.sh | 0 scripts/npm-config.sh | 4 ++ scripts/owncloud-config.sh | 1 + stacks/jellyfin/compose.yml | 4 +- stacks/npm/compose.yml | 2 +- stacks/npm/data/database.sqlite | Bin 0 -> 110592 bytes stacks/npm/nginx/proxy_host/1.conf | 67 ++++++++++++++++++ stacks/npm/nginx/proxy_host/10.conf | 59 +++++++++++++++ stacks/npm/nginx/proxy_host/11.conf | 67 ++++++++++++++++++ stacks/npm/nginx/proxy_host/12.conf | 67 ++++++++++++++++++ stacks/npm/nginx/proxy_host/13.conf | 67 ++++++++++++++++++ stacks/npm/nginx/proxy_host/14.conf | 67 ++++++++++++++++++ stacks/npm/nginx/proxy_host/15.conf | 67 ++++++++++++++++++ stacks/npm/nginx/proxy_host/16.conf | 67 ++++++++++++++++++ stacks/npm/nginx/proxy_host/17.conf | 59 +++++++++++++++ stacks/npm/nginx/proxy_host/18.conf | 59 +++++++++++++++ stacks/npm/nginx/proxy_host/2.conf | 67 ++++++++++++++++++ stacks/npm/nginx/proxy_host/3.conf | 67 ++++++++++++++++++ stacks/npm/nginx/proxy_host/4.conf | 67 ++++++++++++++++++ stacks/npm/nginx/proxy_host/5.conf | 67 ++++++++++++++++++ stacks/npm/nginx/proxy_host/6.conf | 67 ++++++++++++++++++ stacks/npm/nginx/proxy_host/7.conf | 67 ++++++++++++++++++ stacks/npm/nginx/proxy_host/8.conf | 67 ++++++++++++++++++ stacks/npm/nginx/proxy_host/9.conf | 67 ++++++++++++++++++ stacks/onlyoffice/compose.yml | 2 +- stacks/owncloud/compose.yml | 14 ++-- stacks/pihole/compose.yml | 2 +- stacks/site/compose.yml | 2 +- stacks/wireguard/compose.yml | 4 +- todo.txt | 0 32 files changed, 1233 insertions(+), 17 deletions(-) create mode 100644 README.md rename {stacks/dashboard => scripts}/heimdall-config.sh (100%) create mode 100644 scripts/npm-config.sh create mode 100644 scripts/owncloud-config.sh create mode 100644 stacks/npm/data/database.sqlite create mode 100644 stacks/npm/nginx/proxy_host/1.conf create mode 100644 stacks/npm/nginx/proxy_host/10.conf create mode 100644 stacks/npm/nginx/proxy_host/11.conf create mode 100644 stacks/npm/nginx/proxy_host/12.conf create mode 100644 stacks/npm/nginx/proxy_host/13.conf create mode 100644 stacks/npm/nginx/proxy_host/14.conf create mode 100644 stacks/npm/nginx/proxy_host/15.conf create mode 100644 stacks/npm/nginx/proxy_host/16.conf create mode 100644 stacks/npm/nginx/proxy_host/17.conf create mode 100644 stacks/npm/nginx/proxy_host/18.conf create mode 100644 stacks/npm/nginx/proxy_host/2.conf create mode 100644 stacks/npm/nginx/proxy_host/3.conf create mode 100644 stacks/npm/nginx/proxy_host/4.conf create mode 100644 stacks/npm/nginx/proxy_host/5.conf create mode 100644 stacks/npm/nginx/proxy_host/6.conf create mode 100644 stacks/npm/nginx/proxy_host/7.conf create mode 100644 stacks/npm/nginx/proxy_host/8.conf create mode 100644 stacks/npm/nginx/proxy_host/9.conf create mode 100644 todo.txt diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/deploy.sh b/deploy.sh index f03eb44..3d4ab9a 100644 --- a/deploy.sh +++ b/deploy.sh @@ -99,14 +99,43 @@ echo "Docker installation complete." docker --version # install dockge -mkdir -p /opt/stacks /opt/dockge +mkdir -p /opt/stacks /opt/dockge /opt/scripts +chmod -R 775 /opt/stacks cd /opt/dockge # Download your compose.yaml curl "https://dockge.kuma.pet/compose.yaml?port=5001&stacksPath=%2Fopt%2Fstacks" --output compose.yaml +# write configuration to compose files +cp -r ./stacks/* /opt/stacks/ +cp -r ./scripts/* /opt/scripts/ - +#adminemail +replace_string_recursive "/opt/stacks" "?adminemail?" $adminemail +#adminpass +replace_string_recursive "/opt/stacks" "?adminpass?" $adminpass +#timezone +replace_string_recursive "/opt/stacks" "?timezone?" $timezone +#domain +replace_string_recursive "/opt/stacks" "?domain?" $domain +#publicip +replace_string_recursive "/opt/stacks" "?publicip?" $publicip +#localip +replace_string_recursive "/opt/stacks" "?localip?" $localip +#ownclouddbpass +replace_string_recursive "/opt/stacks" "?ownclouddbpass?" $ownclouddbpass +#ownclouddbrootpass +replace_string_recursive "/opt/stacks" "?ownclouddbrootpass?" $ownclouddbrootpass +#convertxJWT +replace_string_recursive "/opt/stacks" "?convertxJWT?" $convertxJWT +#bookstackkey +replace_string_recursive "/opt/stacks" "?bookstackkey?" $bookstackkey +#bookstackdbpass +replace_string_recursive "/opt/stacks" "?bookstackdbpass?" $bookstackdbpass +#bookstackdbrootpass +replace_string_recursive "/opt/stacks" "?bookstackdbrootpass?" $bookstackdbrootpass +#onlyofficeJWT +replace_string_recursive "/opt/stacks" "?onlyofficeJWT?" $onlyofficeJWT # install mailcow to /opt/stacks/mailcow so it shows up in dockge diff --git a/stacks/dashboard/heimdall-config.sh b/scripts/heimdall-config.sh similarity index 100% rename from stacks/dashboard/heimdall-config.sh rename to scripts/heimdall-config.sh diff --git a/scripts/npm-config.sh b/scripts/npm-config.sh new file mode 100644 index 0000000..ab27d12 --- /dev/null +++ b/scripts/npm-config.sh @@ -0,0 +1,4 @@ +# todo: create database.sqlite under /opt/stacks/npm/data/database.sqlite with hosts +# also todo: create nginx conf files. +# also todo: create user + diff --git a/scripts/owncloud-config.sh b/scripts/owncloud-config.sh new file mode 100644 index 0000000..a0a0d31 --- /dev/null +++ b/scripts/owncloud-config.sh @@ -0,0 +1 @@ +# todo: write post-install owncloud config script using OCscript \ No newline at end of file diff --git a/stacks/jellyfin/compose.yml b/stacks/jellyfin/compose.yml index df9f1fd..396ea75 100644 --- a/stacks/jellyfin/compose.yml +++ b/stacks/jellyfin/compose.yml @@ -12,8 +12,8 @@ services: - ./fonts:/usr/local/share/fonts/custom:ro restart: unless-stopped environment: - JELLYFIN_PublishedServerUrl: https://video.$domain - TZ: $timezone + JELLYFIN_PublishedServerUrl: https://video.?domain? + TZ: ?timezone? networks: dockge_default: external: true \ No newline at end of file diff --git a/stacks/npm/compose.yml b/stacks/npm/compose.yml index ae77e45..dc2da0d 100644 --- a/stacks/npm/compose.yml +++ b/stacks/npm/compose.yml @@ -13,7 +13,7 @@ services: # - '21:21' # FTP environment: - TZ: $timezone + TZ: ?timezone? # Uncomment this if you want to change the location of # the SQLite DB file within the container # DB_SQLITE_FILE: "/data/database.sqlite" diff --git a/stacks/npm/data/database.sqlite b/stacks/npm/data/database.sqlite new file mode 100644 index 0000000000000000000000000000000000000000..d9f661fd1d6450ea88543ac9dd8159aff0b3e4cc GIT binary patch literal 110592 zcmeI5TWlQHd4P9G?v3PfCCc>1RRfLIR;Z15+1U#(3p)-iv$kSge34SiG&?)o8ImK; z&a7r;d6A$8iZm^wNz>Ohd1w#>2KrE-Km)XW?Mo9R@I!ziX`hP%ed!H#izW~K&+ObU zyIfN;E&5;RvU}#AGyi=5e{M79{O6swt_m7Yt;$M+)u>YBR3sXWe3POgk;o1Bdlvqh zpDFkTar`RV5;bbPFb<-e++YQXk=O>W z)~GwGEID#TCISgGVK^uW8R@ZemVJkw;g^{yWD9&7F)0Ls>+ChsvV{} zd2*grXY1>Nw8rp~Ug7(d^;B%1vnTFmQi<%9OVQm~LE`vry{d2WN<&apQo$KjKhu(g zyDi>xbkK0oTi36=b!(Bja{blCcd433$dg5lf@Ux+jdchiYTn&^foIUM6EtV2N_j^u0o@O zfTKKhka85GFsb}rGLguRjYU6DE&CE;NxvnJ$9z5XXo#qw9uSj*>k&&2d9YIj-Z))3Ydmh=aqy@76o=V#na({oe@OKRSLhM`l} z9&{zwa&&+5yORTYr{duSk5=|2V_~{{Cj0t55+JUyTHWr+L4tL4h73RKfk=Kg*PqB% zD$(6FUEd9f-)1b~_U#3w4Y=eX}o48l!eUO}z^>H_xa%w1qID@cis|DdstN zk-(aOGxNJIMs??TI30A`p4;hjFH3?`O78>@D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(GbZib31X&7J9dH?3AZnayKxi?Z;}kQz{0!)H()lZxETb*PTlM+$oQ=h z%fQ~!TB%lCaf+c#lO($Ur$Y@)BEtHj%pQKD4-%aP?Rup6(_GrJ>sy|JTd9`3+XIj! z+pfc*cCCwY>qt9%z|c$21NvNK510TWV-WdXg2=B7TV}rIGc)Zk(R9f+^H8Xn<<(W8 z&L5=&Lm2uN88?KQ8N-Ypz7b}JEF-_+F><+D_8OTa*+w1=HL@;q6dQMrCI5u`S*xt5 zo}f_jd+cBb8yCHsGL@^vif!XmsEuJK2d#Ca{UBN}C~feQ8?6TGtE^!|7wk;;(3xIN zSvK|#mde$Fx35K#Y#S#-ZM-RPynK{$e1{jsomC;ICp|xd_4J|ZX)^v#ME*W9^1DNS zn|deyud%_tAHmP3?z8u9*7DPNXM00-hw}{TjU?MoM??LTla5poHHCFq{M<(cC#;#- z=bkl9`^YscC{_!wjpMA_+Io_0+EcA2dELU@&*>YNK-FN_+P^D_{`jXd3oVA@sW3ck zaOU5ZnFATu`xt#o6vyil*kWS|cJ>g&j#V7lc@pyP+$EvQSb2Hgi&*KMcG7vUw>)OL*@3I212?0qMOTm2NV47Rba)LS-@7Lsaaclf z@O5P73Qu^{dD5zp)n`omKDy;D)1~=p(eqePPqOVh?5;+NovRV@WTHzoQiPi8aMein z#}`ID^4T9#dF#FT-jf-%S*Q15 zbH$J$JbKvU^sqhlwCQ07-e-6-)rzMg0}rS;cKbXP+9T@PFLreS9sQoe^_QP?wYmpGz1OE@JIMbBK!a(o literal 0 HcmV?d00001 diff --git a/stacks/npm/nginx/proxy_host/1.conf b/stacks/npm/nginx/proxy_host/1.conf new file mode 100644 index 0000000..3bc3cf3 --- /dev/null +++ b/stacks/npm/nginx/proxy_host/1.conf @@ -0,0 +1,67 @@ +# ------------------------------------------------------------ +# docker.sdgserver.online +# ------------------------------------------------------------ + + + +map $scheme $hsts_header { + https "max-age=63072000; preload"; +} + +server { + set $forward_scheme http; + set $server "192.168.2.132"; + set $port 5001; + + listen 80; +listen [::]:80; + + + server_name docker.sdgserver.online; +http2 off; + + + + + + + + + + + +proxy_set_header Upgrade $http_upgrade; +proxy_set_header Connection $http_connection; +proxy_http_version 1.1; + + + access_log /data/logs/proxy-host-1_access.log proxy; + error_log /data/logs/proxy-host-1_error.log warn; + + + + + + + + location / { + + + + + + + + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + proxy_http_version 1.1; + + + # Proxy! + include conf.d/include/proxy.conf; + } + + + # Custom + include /data/nginx/custom/server_proxy[.]conf; +} diff --git a/stacks/npm/nginx/proxy_host/10.conf b/stacks/npm/nginx/proxy_host/10.conf new file mode 100644 index 0000000..7a4a062 --- /dev/null +++ b/stacks/npm/nginx/proxy_host/10.conf @@ -0,0 +1,59 @@ +# ------------------------------------------------------------ +# proxy.sdgserver.online +# ------------------------------------------------------------ + + + +map $scheme $hsts_header { + https "max-age=63072000; preload"; +} + +server { + set $forward_scheme http; + set $server "192.168.2.132"; + set $port 81; + + listen 80; +listen [::]:80; + + + server_name proxy.sdgserver.online; +http2 off; + + + + + + + + + + + + + access_log /data/logs/proxy-host-10_access.log proxy; + error_log /data/logs/proxy-host-10_error.log warn; + + + + + + + + location / { + + + + + + + + + # Proxy! + include conf.d/include/proxy.conf; + } + + + # Custom + include /data/nginx/custom/server_proxy[.]conf; +} diff --git a/stacks/npm/nginx/proxy_host/11.conf b/stacks/npm/nginx/proxy_host/11.conf new file mode 100644 index 0000000..f5516f3 --- /dev/null +++ b/stacks/npm/nginx/proxy_host/11.conf @@ -0,0 +1,67 @@ +# ------------------------------------------------------------ +# office.sdgserver.online +# ------------------------------------------------------------ + + + +map $scheme $hsts_header { + https "max-age=63072000; preload"; +} + +server { + set $forward_scheme http; + set $server "documentserver"; + set $port 80; + + listen 80; +listen [::]:80; + + + server_name office.sdgserver.online; +http2 off; + + + + + + + + + + + +proxy_set_header Upgrade $http_upgrade; +proxy_set_header Connection $http_connection; +proxy_http_version 1.1; + + + access_log /data/logs/proxy-host-11_access.log proxy; + error_log /data/logs/proxy-host-11_error.log warn; + + + + + + + + location / { + + + + + + + + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + proxy_http_version 1.1; + + + # Proxy! + include conf.d/include/proxy.conf; + } + + + # Custom + include /data/nginx/custom/server_proxy[.]conf; +} diff --git a/stacks/npm/nginx/proxy_host/12.conf b/stacks/npm/nginx/proxy_host/12.conf new file mode 100644 index 0000000..efb0c0a --- /dev/null +++ b/stacks/npm/nginx/proxy_host/12.conf @@ -0,0 +1,67 @@ +# ------------------------------------------------------------ +# cloud.sdgserver.online +# ------------------------------------------------------------ + + + +map $scheme $hsts_header { + https "max-age=63072000; preload"; +} + +server { + set $forward_scheme http; + set $server "owncloud_server"; + set $port 8080; + + listen 80; +listen [::]:80; + + + server_name cloud.sdgserver.online; +http2 off; + + + + + + + + + + + +proxy_set_header Upgrade $http_upgrade; +proxy_set_header Connection $http_connection; +proxy_http_version 1.1; + + + access_log /data/logs/proxy-host-12_access.log proxy; + error_log /data/logs/proxy-host-12_error.log warn; + + + + + + + + location / { + + + + + + + + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + proxy_http_version 1.1; + + + # Proxy! + include conf.d/include/proxy.conf; + } + + + # Custom + include /data/nginx/custom/server_proxy[.]conf; +} diff --git a/stacks/npm/nginx/proxy_host/13.conf b/stacks/npm/nginx/proxy_host/13.conf new file mode 100644 index 0000000..86d1c06 --- /dev/null +++ b/stacks/npm/nginx/proxy_host/13.conf @@ -0,0 +1,67 @@ +# ------------------------------------------------------------ +# www.sdgserver.online +# ------------------------------------------------------------ + + + +map $scheme $hsts_header { + https "max-age=63072000; preload"; +} + +server { + set $forward_scheme http; + set $server "site"; + set $port 80; + + listen 80; +listen [::]:80; + + + server_name www.sdgserver.online; +http2 off; + + + + + + + + + + + +proxy_set_header Upgrade $http_upgrade; +proxy_set_header Connection $http_connection; +proxy_http_version 1.1; + + + access_log /data/logs/proxy-host-13_access.log proxy; + error_log /data/logs/proxy-host-13_error.log warn; + + + + + + + + location / { + + + + + + + + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + proxy_http_version 1.1; + + + # Proxy! + include conf.d/include/proxy.conf; + } + + + # Custom + include /data/nginx/custom/server_proxy[.]conf; +} diff --git a/stacks/npm/nginx/proxy_host/14.conf b/stacks/npm/nginx/proxy_host/14.conf new file mode 100644 index 0000000..093e292 --- /dev/null +++ b/stacks/npm/nginx/proxy_host/14.conf @@ -0,0 +1,67 @@ +# ------------------------------------------------------------ +# vault.sdgserver.online +# ------------------------------------------------------------ + + + +map $scheme $hsts_header { + https "max-age=63072000; preload"; +} + +server { + set $forward_scheme http; + set $server "vaultwarden"; + set $port 80; + + listen 80; +listen [::]:80; + + + server_name vault.sdgserver.online; +http2 off; + + + + + + + + + + + +proxy_set_header Upgrade $http_upgrade; +proxy_set_header Connection $http_connection; +proxy_http_version 1.1; + + + access_log /data/logs/proxy-host-14_access.log proxy; + error_log /data/logs/proxy-host-14_error.log warn; + + + + + + + + location / { + + + + + + + + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + proxy_http_version 1.1; + + + # Proxy! + include conf.d/include/proxy.conf; + } + + + # Custom + include /data/nginx/custom/server_proxy[.]conf; +} diff --git a/stacks/npm/nginx/proxy_host/15.conf b/stacks/npm/nginx/proxy_host/15.conf new file mode 100644 index 0000000..0f545ab --- /dev/null +++ b/stacks/npm/nginx/proxy_host/15.conf @@ -0,0 +1,67 @@ +# ------------------------------------------------------------ +# vpn.sdgserver.online +# ------------------------------------------------------------ + + + +map $scheme $hsts_header { + https "max-age=63072000; preload"; +} + +server { + set $forward_scheme http; + set $server "wireguard"; + set $port 51821; + + listen 80; +listen [::]:80; + + + server_name vpn.sdgserver.online; +http2 off; + + + + + + + + + + + +proxy_set_header Upgrade $http_upgrade; +proxy_set_header Connection $http_connection; +proxy_http_version 1.1; + + + access_log /data/logs/proxy-host-15_access.log proxy; + error_log /data/logs/proxy-host-15_error.log warn; + + + + + + + + location / { + + + + + + + + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + proxy_http_version 1.1; + + + # Proxy! + include conf.d/include/proxy.conf; + } + + + # Custom + include /data/nginx/custom/server_proxy[.]conf; +} diff --git a/stacks/npm/nginx/proxy_host/16.conf b/stacks/npm/nginx/proxy_host/16.conf new file mode 100644 index 0000000..6782d88 --- /dev/null +++ b/stacks/npm/nginx/proxy_host/16.conf @@ -0,0 +1,67 @@ +# ------------------------------------------------------------ +# mail.sdgserver.online +# ------------------------------------------------------------ + + + +map $scheme $hsts_header { + https "max-age=63072000; preload"; +} + +server { + set $forward_scheme https; + set $server "192.168.2.132"; + set $port 1443; + + listen 80; +listen [::]:80; + + + server_name mail.sdgserver.online; +http2 off; + + + + + + + + + + + +proxy_set_header Upgrade $http_upgrade; +proxy_set_header Connection $http_connection; +proxy_http_version 1.1; + + + access_log /data/logs/proxy-host-16_access.log proxy; + error_log /data/logs/proxy-host-16_error.log warn; + + + + + + + + location / { + + + + + + + + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + proxy_http_version 1.1; + + + # Proxy! + include conf.d/include/proxy.conf; + } + + + # Custom + include /data/nginx/custom/server_proxy[.]conf; +} diff --git a/stacks/npm/nginx/proxy_host/17.conf b/stacks/npm/nginx/proxy_host/17.conf new file mode 100644 index 0000000..2cd11ab --- /dev/null +++ b/stacks/npm/nginx/proxy_host/17.conf @@ -0,0 +1,59 @@ +# ------------------------------------------------------------ +# dozzle.sdgserver.online +# ------------------------------------------------------------ + + + +map $scheme $hsts_header { + https "max-age=63072000; preload"; +} + +server { + set $forward_scheme http; + set $server "dozzle"; + set $port 8080; + + listen 80; +listen [::]:80; + + + server_name dozzle.sdgserver.online; +http2 off; + + + + + + + + + + + + + access_log /data/logs/proxy-host-17_access.log proxy; + error_log /data/logs/proxy-host-17_error.log warn; + + + + + + + + location / { + + + + + + + + + # Proxy! + include conf.d/include/proxy.conf; + } + + + # Custom + include /data/nginx/custom/server_proxy[.]conf; +} diff --git a/stacks/npm/nginx/proxy_host/18.conf b/stacks/npm/nginx/proxy_host/18.conf new file mode 100644 index 0000000..460bd87 --- /dev/null +++ b/stacks/npm/nginx/proxy_host/18.conf @@ -0,0 +1,59 @@ +# ------------------------------------------------------------ +# dns.sdgserver.online +# ------------------------------------------------------------ + + + +map $scheme $hsts_header { + https "max-age=63072000; preload"; +} + +server { + set $forward_scheme http; + set $server "pihole"; + set $port 80; + + listen 80; +listen [::]:80; + + + server_name dns.sdgserver.online; +http2 off; + + + + + + + + + + + + + access_log /data/logs/proxy-host-18_access.log proxy; + error_log /data/logs/proxy-host-18_error.log warn; + + + + + + + + location / { + + + + + + + + + # Proxy! + include conf.d/include/proxy.conf; + } + + + # Custom + include /data/nginx/custom/server_proxy[.]conf; +} diff --git a/stacks/npm/nginx/proxy_host/2.conf b/stacks/npm/nginx/proxy_host/2.conf new file mode 100644 index 0000000..477468c --- /dev/null +++ b/stacks/npm/nginx/proxy_host/2.conf @@ -0,0 +1,67 @@ +# ------------------------------------------------------------ +# docs.sdgserver.online +# ------------------------------------------------------------ + + + +map $scheme $hsts_header { + https "max-age=63072000; preload"; +} + +server { + set $forward_scheme http; + set $server "bookstack"; + set $port 80; + + listen 80; +listen [::]:80; + + + server_name docs.sdgserver.online; +http2 off; + + + + + + + + + + + +proxy_set_header Upgrade $http_upgrade; +proxy_set_header Connection $http_connection; +proxy_http_version 1.1; + + + access_log /data/logs/proxy-host-2_access.log proxy; + error_log /data/logs/proxy-host-2_error.log warn; + + + + + + + + location / { + + + + + + + + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + proxy_http_version 1.1; + + + # Proxy! + include conf.d/include/proxy.conf; + } + + + # Custom + include /data/nginx/custom/server_proxy[.]conf; +} diff --git a/stacks/npm/nginx/proxy_host/3.conf b/stacks/npm/nginx/proxy_host/3.conf new file mode 100644 index 0000000..5ef7d60 --- /dev/null +++ b/stacks/npm/nginx/proxy_host/3.conf @@ -0,0 +1,67 @@ +# ------------------------------------------------------------ +# browser.sdgserver.online +# ------------------------------------------------------------ + + + +map $scheme $hsts_header { + https "max-age=63072000; preload"; +} + +server { + set $forward_scheme http; + set $server "browser"; + set $port 80; + + listen 80; +listen [::]:80; + + + server_name browser.sdgserver.online; +http2 off; + + + + + + + + + + + +proxy_set_header Upgrade $http_upgrade; +proxy_set_header Connection $http_connection; +proxy_http_version 1.1; + + + access_log /data/logs/proxy-host-3_access.log proxy; + error_log /data/logs/proxy-host-3_error.log warn; + + + + + + + + location / { + + + + + + + + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + proxy_http_version 1.1; + + + # Proxy! + include conf.d/include/proxy.conf; + } + + + # Custom + include /data/nginx/custom/server_proxy[.]conf; +} diff --git a/stacks/npm/nginx/proxy_host/4.conf b/stacks/npm/nginx/proxy_host/4.conf new file mode 100644 index 0000000..8d2532f --- /dev/null +++ b/stacks/npm/nginx/proxy_host/4.conf @@ -0,0 +1,67 @@ +# ------------------------------------------------------------ +# convert.sdgserver.online +# ------------------------------------------------------------ + + + +map $scheme $hsts_header { + https "max-age=63072000; preload"; +} + +server { + set $forward_scheme http; + set $server "convertx"; + set $port 3000; + + listen 80; +listen [::]:80; + + + server_name convert.sdgserver.online; +http2 off; + + + + + + + + + + + +proxy_set_header Upgrade $http_upgrade; +proxy_set_header Connection $http_connection; +proxy_http_version 1.1; + + + access_log /data/logs/proxy-host-4_access.log proxy; + error_log /data/logs/proxy-host-4_error.log warn; + + + + + + + + location / { + + + + + + + + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + proxy_http_version 1.1; + + + # Proxy! + include conf.d/include/proxy.conf; + } + + + # Custom + include /data/nginx/custom/server_proxy[.]conf; +} diff --git a/stacks/npm/nginx/proxy_host/5.conf b/stacks/npm/nginx/proxy_host/5.conf new file mode 100644 index 0000000..a55e60a --- /dev/null +++ b/stacks/npm/nginx/proxy_host/5.conf @@ -0,0 +1,67 @@ +# ------------------------------------------------------------ +# dash.sdgserver.online +# ------------------------------------------------------------ + + + +map $scheme $hsts_header { + https "max-age=63072000; preload"; +} + +server { + set $forward_scheme http; + set $server "dashboard"; + set $port 80; + + listen 80; +listen [::]:80; + + + server_name dash.sdgserver.online; +http2 off; + + + + + + + + + + + +proxy_set_header Upgrade $http_upgrade; +proxy_set_header Connection $http_connection; +proxy_http_version 1.1; + + + access_log /data/logs/proxy-host-5_access.log proxy; + error_log /data/logs/proxy-host-5_error.log warn; + + + + + + + + location / { + + + + + + + + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + proxy_http_version 1.1; + + + # Proxy! + include conf.d/include/proxy.conf; + } + + + # Custom + include /data/nginx/custom/server_proxy[.]conf; +} diff --git a/stacks/npm/nginx/proxy_host/6.conf b/stacks/npm/nginx/proxy_host/6.conf new file mode 100644 index 0000000..cccc8ec --- /dev/null +++ b/stacks/npm/nginx/proxy_host/6.conf @@ -0,0 +1,67 @@ +# ------------------------------------------------------------ +# download.sdgserver.online +# ------------------------------------------------------------ + + + +map $scheme $hsts_header { + https "max-age=63072000; preload"; +} + +server { + set $forward_scheme http; + set $server "192.168.2.132"; + set $port 3000; + + listen 80; +listen [::]:80; + + + server_name download.sdgserver.online; +http2 off; + + + + + + + + + + + +proxy_set_header Upgrade $http_upgrade; +proxy_set_header Connection $http_connection; +proxy_http_version 1.1; + + + access_log /data/logs/proxy-host-6_access.log proxy; + error_log /data/logs/proxy-host-6_error.log warn; + + + + + + + + location / { + + + + + + + + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + proxy_http_version 1.1; + + + # Proxy! + include conf.d/include/proxy.conf; + } + + + # Custom + include /data/nginx/custom/server_proxy[.]conf; +} diff --git a/stacks/npm/nginx/proxy_host/7.conf b/stacks/npm/nginx/proxy_host/7.conf new file mode 100644 index 0000000..1e29350 --- /dev/null +++ b/stacks/npm/nginx/proxy_host/7.conf @@ -0,0 +1,67 @@ +# ------------------------------------------------------------ +# tools.sdgserver.online +# ------------------------------------------------------------ + + + +map $scheme $hsts_header { + https "max-age=63072000; preload"; +} + +server { + set $forward_scheme http; + set $server "it-tools"; + set $port 80; + + listen 80; +listen [::]:80; + + + server_name tools.sdgserver.online; +http2 off; + + + + + + + + + + + +proxy_set_header Upgrade $http_upgrade; +proxy_set_header Connection $http_connection; +proxy_http_version 1.1; + + + access_log /data/logs/proxy-host-7_access.log proxy; + error_log /data/logs/proxy-host-7_error.log warn; + + + + + + + + location / { + + + + + + + + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + proxy_http_version 1.1; + + + # Proxy! + include conf.d/include/proxy.conf; + } + + + # Custom + include /data/nginx/custom/server_proxy[.]conf; +} diff --git a/stacks/npm/nginx/proxy_host/8.conf b/stacks/npm/nginx/proxy_host/8.conf new file mode 100644 index 0000000..d4d66d4 --- /dev/null +++ b/stacks/npm/nginx/proxy_host/8.conf @@ -0,0 +1,67 @@ +# ------------------------------------------------------------ +# video.sdgserver.online +# ------------------------------------------------------------ + + + +map $scheme $hsts_header { + https "max-age=63072000; preload"; +} + +server { + set $forward_scheme http; + set $server "jellyfin"; + set $port 8096; + + listen 80; +listen [::]:80; + + + server_name video.sdgserver.online; +http2 off; + + + + + + + + + + + +proxy_set_header Upgrade $http_upgrade; +proxy_set_header Connection $http_connection; +proxy_http_version 1.1; + + + access_log /data/logs/proxy-host-8_access.log proxy; + error_log /data/logs/proxy-host-8_error.log warn; + + + + + + + + location / { + + + + + + + + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + proxy_http_version 1.1; + + + # Proxy! + include conf.d/include/proxy.conf; + } + + + # Custom + include /data/nginx/custom/server_proxy[.]conf; +} diff --git a/stacks/npm/nginx/proxy_host/9.conf b/stacks/npm/nginx/proxy_host/9.conf new file mode 100644 index 0000000..d5a43d1 --- /dev/null +++ b/stacks/npm/nginx/proxy_host/9.conf @@ -0,0 +1,67 @@ +# ------------------------------------------------------------ +# status.sdgserver.online +# ------------------------------------------------------------ + + + +map $scheme $hsts_header { + https "max-age=63072000; preload"; +} + +server { + set $forward_scheme http; + set $server "uptime-kuma"; + set $port 3001; + + listen 80; +listen [::]:80; + + + server_name status.sdgserver.online; +http2 off; + + + + + + + + + + + +proxy_set_header Upgrade $http_upgrade; +proxy_set_header Connection $http_connection; +proxy_http_version 1.1; + + + access_log /data/logs/proxy-host-9_access.log proxy; + error_log /data/logs/proxy-host-9_error.log warn; + + + + + + + + location / { + + + + + + + + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + proxy_http_version 1.1; + + + # Proxy! + include conf.d/include/proxy.conf; + } + + + # Custom + include /data/nginx/custom/server_proxy[.]conf; +} diff --git a/stacks/onlyoffice/compose.yml b/stacks/onlyoffice/compose.yml index 3ee6970..3c678c2 100644 --- a/stacks/onlyoffice/compose.yml +++ b/stacks/onlyoffice/compose.yml @@ -10,7 +10,7 @@ services: - 1.1.1.1 - 8.8.8.8 environment: - JWT_SECRET: $onlyofficeJWT + JWT_SECRET: ?onlyofficeJWT? JWT_IN_BODY: true networks: dockge_default: diff --git a/stacks/owncloud/compose.yml b/stacks/owncloud/compose.yml index 8df7971..66a408f 100644 --- a/stacks/owncloud/compose.yml +++ b/stacks/owncloud/compose.yml @@ -9,15 +9,15 @@ services: - owncloud_db - owncloud_redis environment: - OWNCLOUD_DOMAIN: https://cloud.$domain - OWNCLOUD_TRUSTED_DOMAINS: localhost, cloud.$domain + OWNCLOUD_DOMAIN: https://cloud.?domain? + OWNCLOUD_TRUSTED_DOMAINS: localhost, cloud.?domain? OWNCLOUD_DB_TYPE: mysql OWNCLOUD_DB_NAME: owncloud OWNCLOUD_DB_USERNAME: owncloud - OWNCLOUD_DB_PASSWORD: $ownclouddbpass + OWNCLOUD_DB_PASSWORD: ?ownclouddbpass? OWNCLOUD_DB_HOST: owncloud_db - OWNCLOUD_ADMIN_USERNAME: $adminemail - OWNCLOUD_ADMIN_PASSWORD: $adminpass + OWNCLOUD_ADMIN_USERNAME: ?adminemail? + OWNCLOUD_ADMIN_PASSWORD: ?adminpass? OWNCLOUD_MYSQL_UTF8MB4: true OWNCLOUD_REDIS_ENABLED: true OWNCLOUD_REDIS_HOST: owncloud_redis @@ -36,9 +36,9 @@ services: networks: - dockge_default environment: - - MYSQL_ROOT_PASSWORD=$ownclouddbrootpass + - MYSQL_ROOT_PASSWORD=?ownclouddbrootpass? - MYSQL_USER=owncloud - - MYSQL_PASSWORD=$ownclouddbpass + - MYSQL_PASSWORD=?ownclouddbpass? - MYSQL_DATABASE=owncloud - MARIADB_AUTO_UPGRADE=1 command: ["--max-allowed-packet=128M", "--innodb-log-file-size=64M"] diff --git a/stacks/pihole/compose.yml b/stacks/pihole/compose.yml index e2b3669..3580d8b 100644 --- a/stacks/pihole/compose.yml +++ b/stacks/pihole/compose.yml @@ -9,7 +9,7 @@ services: - 53:53/udp environment: TZ: Europe/Amsterdam - FTLCONF_WEBSERVER_API_PASSWORD: z5fGWz2i0q + FTLCONF_WEBSERVER_API_PASSWORD: ?adminpass? volumes: - ./config:/etc/pihole - ./dns:/etc/dnsmasq.d diff --git a/stacks/site/compose.yml b/stacks/site/compose.yml index 1d3b052..a3a837e 100644 --- a/stacks/site/compose.yml +++ b/stacks/site/compose.yml @@ -6,7 +6,7 @@ services: networks: - dockge_default environment: - TZ: $timezone + TZ: ?timezone? volumes: - ./config:/config networks: diff --git a/stacks/wireguard/compose.yml b/stacks/wireguard/compose.yml index 99eca45..705a379 100644 --- a/stacks/wireguard/compose.yml +++ b/stacks/wireguard/compose.yml @@ -2,8 +2,8 @@ services: wireguard: container_name: wireguard environment: - WG_HOST: $publicip - PASSWORD: $adminpass + WG_HOST: ?publicip? + PASSWORD: ?adminpass? volumes: - ./wireguard:/etc/wireguard ports: diff --git a/todo.txt b/todo.txt new file mode 100644 index 0000000..e69de29