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 0000000..d9f661f Binary files /dev/null and b/stacks/npm/data/database.sqlite differ 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