new major update
This commit is contained in:
60 files changed
+2228
-615
No files matched your search
@@ -0,0 +1 @@
|
||||
ACTUAL_LISTEN_PORT={{ actual.port }}
|
||||
@@ -9,9 +9,15 @@ SERVER_FQDN={{ (certbot.domains | reject("regex", "^\\*\\.") | list)[0] }}
|
||||
{% if nextcloud.subdomain is defined and nextcloud != None %}
|
||||
NEXTCLOUD_SUBDOMAIN={{ nextcloud.subdomain }}
|
||||
{% endif %}
|
||||
{% if gitea is defined and gitea != None %}
|
||||
GITEA_SUBDOMAIN={{ gitea.subdomain }}
|
||||
{% if forgejo is defined and forgejo != None %}
|
||||
FORGEJO_SUBDOMAIN={{ forgejo.subdomain }}
|
||||
{% endif %}
|
||||
{% if gist is defined and gist != None %}
|
||||
OG_SUBDOMAIN={{ gist.subdomain }}
|
||||
{% endif %}
|
||||
{% if syncplay is defined and syncplay != None %}
|
||||
SYNCPLAY_SUBDOMAIN={{ syncplay.subdomain }}
|
||||
{% endif %}
|
||||
{% if nodebb is defined and nodebb != None %}
|
||||
NODEBB_SUBDOMAIN={{ nodebb.subdomain }}
|
||||
{% endif %}
|
||||
@@ -0,0 +1,9 @@
|
||||
{% if aria.rpc.enabled %}
|
||||
ARIA_RPC_LISTEN_PORT={{ aria.rpc.port }}
|
||||
# {% if aria.rpc.credentials is undefined or aria.rpc.credentials == None %}
|
||||
# ARIA_RPC_SECRET_TOKEN={{ aria.rpc.secret }}
|
||||
# {% endif %}
|
||||
{% endif %}
|
||||
{% if aria.trnt.dht.enabled %}
|
||||
ARIA_TRNT_LISTEN_PORT={{ aria.trnt.dht.port }}
|
||||
{% endif %}
|
||||
@@ -37,7 +37,7 @@ max-resume-failure-tries=0
|
||||
{% if aria.rpc.enabled %}
|
||||
enable-rpc=true
|
||||
|
||||
{% if mode == "prod" or aria.rpc.scheme == "https" %}
|
||||
{% if mode == "prod" and aria.rpc.scheme == "https" %}
|
||||
rpc-secure=true
|
||||
|
||||
{% if not certbot.containerized %}
|
||||
@@ -59,7 +59,7 @@ rpc-listen-all=false
|
||||
rpc-listen-port={{ aria.rpc.port | string }}
|
||||
|
||||
{% if aria.rpc.credentials is undefined or aria.rpc.credentials == None %}
|
||||
rpc-secret={{ aria.rpc.secret | default(lookup('password', './.tmp/' + inventory_hostname + '-aria/aria.secret', chars=['ascii_lowercase', 'digits'], length=32)) }}
|
||||
rpc-secret={{ aria.rpc.secret }}
|
||||
{% else %}
|
||||
rpc-user={{ aria.rpc.credentials.username }}
|
||||
rpc-password={{ aria.rpc.credentials.password }}
|
||||
|
||||
@@ -7,7 +7,7 @@ http://<< web_fqdn >> {
|
||||
}
|
||||
}
|
||||
:80 {
|
||||
root /srv/certbot.<< web_fqdn >>
|
||||
root ~/srv/certbot.<< web_fqdn >>
|
||||
browse
|
||||
}
|
||||
<< web_fqdn >> {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
server:
|
||||
port: {{ glance.port }}
|
||||
{% if glance.proxied %}
|
||||
{% if glance.proxied %}
|
||||
proxied: true
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
base-url: /
|
||||
assets-path: /app/assets
|
||||
pages:
|
||||
- name: home
|
||||
head-widgets:
|
||||
@@ -48,7 +49,7 @@ pages:
|
||||
url: https://hexdocs.pm/?q={QUERY}&packages=plug%3Alatest%2Cphoenix%3Alatest%2Cphoenix_html%3Alatest%2Cphoenix_live_view%3Alatest%2Cphoenix_pubsub%3Alatest%2Cphoenix_template%3Alatest
|
||||
- title: Javascript
|
||||
shortcut: "@js"
|
||||
shortcut: https://javascript.info/search?query={QUERY}
|
||||
url: https://javascript.info/search?query={QUERY}
|
||||
- title: MDN
|
||||
shortcut: "@mdn"
|
||||
url: https://developer.mozilla.org/en-US/search?q={QUERY}
|
||||
@@ -330,10 +331,3 @@ pages:
|
||||
- UCDG73pGqESS1XcEVY_0xwWw
|
||||
- UCR2uRTQ53V_egXKFflMMaaw
|
||||
- UCzGUT9PjV3SMBwjWXUYh4HA
|
||||
- name: services
|
||||
columns:
|
||||
- size: full
|
||||
widgets:
|
||||
- type: docker-containers
|
||||
title: status
|
||||
hide-by-default: false
|
||||
@@ -6,4 +6,4 @@ log-level: info
|
||||
{% endif %}
|
||||
custom.static-links:
|
||||
- name: Playbooks
|
||||
path: {{ "https://" + gitea.subdomain + "." + web_fqdn + "/admin/skato-ansible" }}
|
||||
path: {{ "https://" + forgejo.subdomain + "." + web_fqdn + "/admin/skato-ansible" }}
|
||||
@@ -18,6 +18,48 @@
|
||||
"Proxy": "http://localhost:8080"
|
||||
}
|
||||
}
|
||||
},
|
||||
"aria.${TS_CERT_DOMAIN}:443": {
|
||||
"Handlers": {
|
||||
"/": {
|
||||
"Proxy": "http://localhost:6880"
|
||||
}
|
||||
}
|
||||
},
|
||||
"slsk.${TS_CERT_DOMAIN}:443": {
|
||||
"Handlers": {
|
||||
"/": {
|
||||
"Proxy": "http://localhost:5030"
|
||||
}
|
||||
}
|
||||
},
|
||||
"grocy.${TS_CERT_DOMAIN}:443": {
|
||||
"Handlers": {
|
||||
"/": {
|
||||
"Proxy": "http://localhost:80"
|
||||
}
|
||||
}
|
||||
},
|
||||
"budget.${TS_CERT_DOMAIN}:443": {
|
||||
"Handlers": {
|
||||
"/": {
|
||||
"Proxy": "http://localhost:5006"
|
||||
}
|
||||
}
|
||||
},
|
||||
"reader.${TS_CERT_DOMAIN}:443": {
|
||||
"Handlers": {
|
||||
"/": {
|
||||
"Proxy": "http://localhost:9999"
|
||||
}
|
||||
}
|
||||
},
|
||||
"stash.${TS_CERT_DOMAIN}:443": {
|
||||
"Handlers": {
|
||||
"/": {
|
||||
"Proxy": "http://localhost:5000"
|
||||
}
|
||||
}
|
||||
}
|
||||
<% elif mode == "dev" or tailscale.scheme == "http" %>
|
||||
"${TS_CERT_DOMAIN}:80": {
|
||||
@@ -26,6 +68,48 @@
|
||||
"Proxy": "http://localhost:8080"
|
||||
}
|
||||
}
|
||||
},
|
||||
"aria.${TS_CERT_DOMAIN}:80": {
|
||||
"Handlers": {
|
||||
"/": {
|
||||
"Proxy": "http://localhost:6880"
|
||||
}
|
||||
}
|
||||
},
|
||||
"slsk.${TS_CERT_DOMAIN}:80": {
|
||||
"Handlers": {
|
||||
"/": {
|
||||
"Proxy": "http://localhost:5030"
|
||||
}
|
||||
}
|
||||
},
|
||||
"grocy.${TS_CERT_DOMAIN}:80": {
|
||||
"Handlers": {
|
||||
"/": {
|
||||
"Proxy": "http://localhost:80"
|
||||
}
|
||||
}
|
||||
},
|
||||
"budget.${TS_CERT_DOMAIN}:80": {
|
||||
"Handlers": {
|
||||
"/": {
|
||||
"Proxy": "http://localhost:5006"
|
||||
}
|
||||
}
|
||||
},
|
||||
"reader.${TS_CERT_DOMAIN}:80": {
|
||||
"Handlers": {
|
||||
"/": {
|
||||
"Proxy": "http://localhost:9999"
|
||||
}
|
||||
}
|
||||
},
|
||||
"stash.${TS_CERT_DOMAIN}:80": {
|
||||
"Handlers": {
|
||||
"/": {
|
||||
"Proxy": "http://localhost:5000"
|
||||
}
|
||||
}
|
||||
}
|
||||
<% endif %>
|
||||
},
|
||||
|
||||
@@ -36,7 +36,7 @@ templates:
|
||||
tasks:
|
||||
# @NOTE uncommenting aria2 block requires commenting out download and proxy blocks
|
||||
populate_folders:
|
||||
{% if download_mode == 'direct' %}
|
||||
{% if flexget.download_mode == 'direct' %}
|
||||
proxy:
|
||||
https: 'socks5://<< tor.proxy.hostname >>:<< tor.proxy.port >>'
|
||||
{% endif %}
|
||||
@@ -63,7 +63,7 @@ tasks:
|
||||
template: limited_series
|
||||
{% if flexget.download_mode == 'aria2' %}
|
||||
aria2:
|
||||
server: << aria.rpc.hostname >>
|
||||
server: << aria.rpc.hostname | default((fqdn | default(inventory_hostname))) >>
|
||||
port: << aria.rpc.port >>
|
||||
{% if aria.rpc.secret != None and aria.rpc.secret is defined %}
|
||||
secret: << aria.rpc.secret >>
|
||||
@@ -71,8 +71,8 @@ tasks:
|
||||
username: << aria.rpc.credentials.username >>
|
||||
password: << aria.rpc.credentials.password >>
|
||||
{% endif %}
|
||||
{% if mode == 'prod' %}
|
||||
scheme: << aria.rpc.scheme >>
|
||||
{% if aria.rpc.scheme == 'https' and mode == 'prod' %}
|
||||
scheme: https
|
||||
{% else %}
|
||||
scheme: http
|
||||
{% endif %}
|
||||
@@ -86,14 +86,14 @@ tasks:
|
||||
{% endif %}
|
||||
# @NOTE uncommenting aria2 block requires commenting out download and proxy blocks
|
||||
fap_queue:
|
||||
{% if download_mode == 'direct' %}
|
||||
{% if flexget.download_mode == 'direct' %}
|
||||
proxy:
|
||||
https: 'socks5://<< tor.proxy.hostname >>:<< tor.proxy.port >>'
|
||||
{% endif %}
|
||||
template: porn_vids
|
||||
{% if flexget.download_mode == 'aria2' %}
|
||||
aria2:
|
||||
server: << aria.rpc.hostname >>
|
||||
server: << aria.rpc.hostname | default((fqdn | default(inventory_hostname))) >>
|
||||
port: << aria.rpc.port >>
|
||||
{% if aria.rpc.secret != None and aria.rpc.secret is defined %}
|
||||
secret: << aria.rpc.secret >>
|
||||
@@ -102,8 +102,8 @@ tasks:
|
||||
username: << aria.rpc.credentials.username >>
|
||||
password: << aria.rpc.credentials.password >>
|
||||
{% endif %}
|
||||
{% if mode == 'prod' %}
|
||||
scheme: << aria.rpc.scheme >>
|
||||
{% if aria.rpc.scheme == 'https' and mode == 'prod' %}
|
||||
scheme: https
|
||||
{% else %}
|
||||
scheme: http
|
||||
{% endif %}
|
||||
@@ -117,14 +117,14 @@ tasks:
|
||||
{% endif %}
|
||||
# @NOTE uncommenting aria2 block requires commenting out download and proxy blocks
|
||||
film_queue:
|
||||
{% if download_mode == 'direct' %}
|
||||
{% if flexget.download_mode == 'direct' %}
|
||||
proxy:
|
||||
https: 'socks5://<< tor.proxy.hostname >>:<< tor.proxy.port >>'
|
||||
{% endif %}
|
||||
template: feature_films
|
||||
{% if flexget.download_mode == 'aria2' %}
|
||||
aria2:
|
||||
server: << aria.rpc.hostname >>
|
||||
server: << aria.rpc.hostname | default((fqdn | default(inventory_hostname))) >>
|
||||
port: << aria.rpc.port >>
|
||||
{% if aria.rpc.secret != None or aria.rpc.secret is defined %}
|
||||
secret: << aria.rpc.secret >>
|
||||
@@ -133,8 +133,8 @@ tasks:
|
||||
username: << aria.rpc.credentials.username >>
|
||||
password: << aria.rpc.credentials.password >>
|
||||
{% endif %}
|
||||
{% if mode == 'prod' %}
|
||||
scheme: << aria.rpc.scheme >>
|
||||
{% if aria.rpc.scheme == 'https' and mode == 'prod' %}
|
||||
scheme: https
|
||||
{% else %}
|
||||
scheme: http
|
||||
{% endif %}
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
FORGEJO_MODE={{ mode | default("dev") }}
|
||||
FORGEJO_NAME={{ (web_fqdn | split("."))[0].upper() + " Grimoire" }}
|
||||
FORGEJO_SLOGAN={{ forgejo.description }}
|
||||
FORGEJO_SSH_PORT={{ forgejo.ssh.port }}
|
||||
FORGEJO_LANDING={{ forgejo.site.landing }}
|
||||
FORGEJO_TRUSTED_PROXIES={{ forgejo.trusted.proxies | join(",") }}
|
||||
FORGEJO_DESC={{ forgejo.description }}
|
||||
FORGEJO_LOCK_REASONS={{ forgejo.site.lock_reasons | join(",") }}
|
||||
FORGEJO_KANBAN_COLUMNS={{ forgejo.site.kanban_columns | join(",") }}
|
||||
FORGEJO_TRIAGE_CATEGORIES={{ forgejo.site.triage_categories | join(",")}}
|
||||
|
||||
{% if compose.mode == "dev" %}
|
||||
FORGEJO_PROTOCOL=http
|
||||
{% elif compose.mode == "prod" %}
|
||||
FORGEJO_PROTOCOL=https
|
||||
{% endif %}
|
||||
|
||||
{% if forgejo.site.registration.enabled %}
|
||||
FORGEJO_PROHIBIT_REGISTRATION=false
|
||||
{% else %}
|
||||
FORGEJO_PROHIBIT_REGISTRATION=true
|
||||
{% endif %}
|
||||
|
||||
FORGEJO_DB_TYPE={{ forgejo.db.type }}
|
||||
|
||||
{% if forgejo.db.type == "mysql" %}
|
||||
FORGEJO_DB_NAME={{ forgejo.db.name }}
|
||||
{% endif %}
|
||||
@@ -1,17 +0,0 @@
|
||||
GITEA_MODE={{ mode | default("dev") }}
|
||||
GITEA_NAME={{ (web_fqdn | split("."))[0].upper() + " Nous" }}
|
||||
GITEA_SSH_PORT={{ gitea.ssh.port }}
|
||||
GITEA_LANDING={{ gitea.site.landing }}
|
||||
GITEA_TRUSTED_PROXIES={{ gitea.trusted.proxies | join(",") }}
|
||||
|
||||
{% if gitea.site.registration.enabled %}
|
||||
GITEA_PROHIBIT_REGISTRATION=false
|
||||
{% else %}
|
||||
GITEA_PROHIBIT_REGISTRATION=true
|
||||
{% endif %}
|
||||
|
||||
GITEA_DB_TYPE={{ gitea.db.type }}
|
||||
|
||||
{% if gitea.db.type == "mysql" %}
|
||||
GITEA_DB_NAME={{ gitea.db.name }}
|
||||
{% endif %}
|
||||
@@ -0,0 +1 @@
|
||||
STASH_LISTEN_PORT={{ stash.port }}
|
||||
@@ -0,0 +1,8 @@
|
||||
SYNCPLAY_PASSWORD={{ syncplay.password }}
|
||||
SYNCPLAY_MOTD={{ syncplay.motd }}
|
||||
{% if mode == "prod" %}
|
||||
SYNCPLAY_TLS=ON
|
||||
{% else %}
|
||||
SYNCPLAY_TLS=OFF
|
||||
{% endif %}
|
||||
SYNCPLAY_SALT={{ syncplay.salt }}
|
||||
Reference in new issue
Block a user