Add files via upload

master
Aerya 4 months ago
parent 82c690da24
commit 54e57b4201
  1. 6
      AutoHeal
  2. 7
      Backup (basic)
  3. 11
      Blog DDNS blog
  4. 11
      Blog DDNS www
  5. 11
      Blog Ghost DDNS
  6. 10
      Blog Ghost Isso
  7. 249
      Blog Ghost Isso Config
  8. 11
      Blog WP DDNS
  9. 21
      Blog WP MariaSQL
  10. 15
      Blog WP WordPress
  11. 20
      BotDarr
  12. 31
      Cypht (webmail)

@ -0,0 +1,6 @@
docker run -d \
--name autoheal \
--restart=always \
-e AUTOHEAL_CONTAINER_LABEL=all \
-v /var/run/docker.sock:/var/run/docker.sock \
willfarrell/autoheal

@ -0,0 +1,7 @@
docker run -d \
--name=backup \
--restart always \
-v /var/lib/vz/dan/docker:/data/input \
-v /var/lib/vz/dan/mnt/unionfs/backup/ProxMoxDrive:/data/backup \
-e BACKUP_CRON_EXP="* 4 */2 * *" \
osixia/backup:0.2.1

@ -0,0 +1,11 @@
docker run -d \
--name=blogddnsblog \
--restart always \
-e ZONE=upandclear.org \
-e HOST=blog.upandclear.org \
-e EMAIL=blog@upandclear.org \
-e API=* \
-e PROXY=true \
-e FORCE_CREATE=true \
--label=com.centurylinklabs.watchtower.enable=true \
joshuaavalon/cloudflare-ddns

@ -0,0 +1,11 @@
docker run -d \
--name=blogddnswww \
--restart always \
-e ZONE=upandclear.org \
-e HOST=www.upandclear.org \
-e EMAIL=blog@upandclear.org \
-e API=* \
-e PROXY=true \
-e FORCE_CREATE=true \
--label=com.centurylinklabs.watchtower.enable=true \
joshuaavalon/cloudflare-ddns

@ -0,0 +1,11 @@
docker run -d \
--name=blogddns \
--restart always \
-e ZONE=upandclear.org \
-e HOST=upandclear.org \
-e EMAIL=blog@upandclear.org \
-e API=* \
-e PROXY=true \
-e FORCE_CREATE=true \
--label=com.centurylinklabs.watchtower.enable=true \
joshuaavalon/cloudflare-ddns

@ -0,0 +1,10 @@
cd /mnt/sdb/blog/issotgit
docker build . -t isso
docker run -d \
--name=blogisso \
--restart always \
-p 0.0.0.0:16841:8080 \
-v /home/aerya/docker/blog/isso/config:/config \
-v /home/aerya/docker/blog/isso/db:/db \
isso

@ -0,0 +1,249 @@
ADMIN : *
<section class="post-full-comments">
<script
data-isso="https://isso.upandclear.org/"
data-isso-css="true"
data-isso-lang="fr"
data-isso-vote="true"
data-isso-reply-to-self="false"
data-isso-require-author="true"
data-isso-require-email="true"
data-isso-reply-notifications="true"
data-isso-max-comments-top="10"
data-isso-max-comments-nested="5"
data-isso-reveal-on-click="5"
data-isso-gravatar="true"
data-isso-avatar="false"
src="//isso.upandclear.org/js/embed.min.js"></script>
<section id="isso-thread"></section>
[general]
host = https://upandclear.org
# time range that allows users to edit/remove their own comments.
max-age = 15m
# Select notification backend for new comments. Currently, only SMTP is
# available.
# Select notification backend(s) for new comments, separated by comma.
# Available backends:
#
# stdout
# Log to standard output. Default, if none selected.
# smtp
# Send notifications via SMTP on new comments with activation (if
# moderated) and deletion links.
notify = smtp
# Allow users to request E-mail notifications for replies to their post.
# WARNING: It is highly recommended to also turn on moderation when enabling
# this setting, as Isso can otherwise be easily exploited for sending spam.
reply-notifications = true
# Log console messages to file instead of standard output.
log-file =
# adds property "gravatar_image" to json response when true
# will automatically build md5 hash by email and use "gravatar_url" to build
# the url to the gravatar image
gravatar = true
# default url for gravatar. {} is where the hash will be placed
gravatar-url = https://www.gravatar.com/avatar/{}?d=identicon
# enable the "/latest" endpoint, that serves comment for multiple posts (not
# needing to previously know the posts URIs)
latest-enabled = false
[admin]
enabled = true
# Admin access password
password = *
[moderation]
# enable comment moderation queue. This option only affects new comments.
# Comments in modertion queue are not visible to other users until you activate
# them.
enabled = false
# with moderation enabled, automatically approve new comments by an
# author if they've had comments approved within the last 6 months
# Note: No verification is done on the email addresses entered by commenters.
# This means that if someone is able to guess correctly the email address used
# by a previously approved author, they will be able to have their new comment
# auto-approved. For this reason, we recommend that you also activate SMTP
# notification if you activate this option, so that you will see
# auto-approved comments as they get posted.
approve-if-email-previously-approved = true
# remove unprocessed comments in moderation queue after given time.
purge-after = 30d
[server]
# interface to listen on. Isso supports TCP/IP and unix domain sockets: UNIX
# domain socket listen = unix:///tmp/isso.sock TCP/IP listen =
# http:///localhost:1234/
#
# When gevent is available, it is automatically used for http:// Currently,
# gevent can not handle http requests on unix domain socket (see #295 and #299
# for details). Does not apply for uWSGI.
listen = 10.0.4.100:16841
# public URL that Isso is accessed from by end users. Should always be a
# http:// or https:// absolute address. If left blank, automatic detection is
# attempted.
public-endpoint = https://isso.upandclear.org
# reload application, when the source code has changed. Useful for development.
# Only works with the internal webserver.
reload = off
# show 10 most time consuming function in Isso after each request. Do not use
# in production.
profile = off
# an optional list of reverse proxies IPs behind which you have deployed
# your Isso web service (e.g. `127.0.0.1`).
# This allow for proper remote address resolution based on a
# `X-Forwarded-For` HTTP header, which is important for the mechanism
# forbiding several comment votes coming from the same subnet.
trusted-proxies =
# Override Set-Cookie header SameSite value.
# Needed for setups where isso is not hosted on the same domain, e.g. called
# from example.org and hosted under comments.example.org.
# By default, isso will set SameSite=None when served over https and
# SameSite=Lax when served over http.
# See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite
# and https://github.com/posativ/isso/issues/682
# Accepted values: None, Lax, Strict
samesite = Lax
[smtp]
# Isso can notify you on new comments via SMTP. In the email notification, you
# also can moderate (=activate or delete) comments.
# self-explanatory, optional
username = blog@upandclear.org
# self-explanatory (yes, plain text, create a dedicated account for
# notifications), optional.
password = *
# SMTP server
host = *
# SMTP port
port = 465
# use a secure connection to the server, possible values: none, starttls or
# ssl. Note, that there is no easy way for Python 2.7 and 3.3 to implement
# certification validation and thus the connection is vulnerable to
# Man-in-the-Middle attacks. You should definitely use a dedicated SMTP account
# for Isso in that case.
security = ssl
# recipient address, e.g. your email address
to = blog@upandclear.org
# sender address, e.g. "Foo Bar" <isso@example.tld>
from = blog@upandclear.org
# specify a timeout in seconds for blocking operations like the
# connection attempt.
timeout = 10
[guard]
# Enable basic spam protection features, e.g. rate-limit per IP address (/24
# for IPv4, /48 for IPv6).
# enable guard, recommended in production. Not useful for debugging purposes.
enabled = true
# limit to N new comments per minute.
ratelimit = 3
# how many comments directly to the thread (prevent a simple while true; do
# curl ...; done.
direct-reply = 5
# allow commenters to reply to their own comments when they could still edit
# the comment. After the editing timeframe is gone, commenters can reply to
# their own comments anyways. Do not forget to configure the client.
reply-to-self = false
# force commenters to enter a value into the author field. No validation is
# performed on the provided value. Do not forget to configure the client
# accordingly.
require-author = true
# require the commenter to enter an email address (note: no validation is
# done on the provided address). Do not forget to configure the client.
require-email = false
[markup]
# Customize markup and sanitized HTML. Currently, only Markdown (via Misaka) is
# supported, but new languages are relatively easy to add.
# Misaka-specific Markdown extensions, all extensions can be used here,
# separated by comma, either by their name or by EXT_<extension>.
# Careful: Misaka 1.0 used "snake_case", but 2.0 needs "dashed-case"!
options = strikethrough, superscript, autolink, fenced-code
# Misaka-specific HTML rendering flags, all html rendering flags can be used
# here, separated by comma, either by their name or as HTML_<flag>.
# Per Misaka's defaults, no flags are set.
flags =
# Additional HTML tags to allow in the generated output, comma-separated. By
# default, only a, blockquote, br, code, del, em, h1, h2, h3, h4, h5, h6, hr,
# ins, li, ol, p, pre, strong, table, tbody, td, th, thead and ul are allowed.
allowed-elements =
# Additional HTML attributes (independent from elements) to allow in the
# generated output, comma-separated. By default, only align and href are
# allowed.
allowed-attributes =
[hash]
# Customize used hash functions to hide the actual email addresses from
# commenters but still be able to generate an identicon.
# A salt is used to protect against rainbow tables. Isso does not make use of
# pepper (yet). The default value has been in use since the release of Isso and
# generates the same identicons for same addresses across installations.
salt = *
# Hash algorithm to use -- either from Python's hashlib or PBKDF2 (a
# computational expensive hash function).
#
# The actual identifier for PBKDF2 is pbkdf2:1000:6:sha1, which means 1000
# iterations, 6 bytes to generate and SHA1 as pseudo-random family used for key
# strengthening. Arguments have to be in that order, but can be reduced to
# pbkdf2:4096 for example to override the iterations only.
algorithm = pbkdf2
[rss]
# Provide an Atom feed for each comment thread for users to subscribe to.
# The base URL of pages is needed to build the Atom feed. By appending
# the URI, we should get the complete URL to use to access the page
# with the comments. When empty, Atom feeds are disabled.
base = https://upandclear.org
# Limit the number of elements to return for each thread.
limit = 100

@ -0,0 +1,11 @@
docker run -d \
--name=blogddnswp \
--restart always \
-e ZONE=upandclear.org \
-e HOST=wp.upandclear.org \
-e EMAIL=blog@upandclear.org \
-e API=* \
-e PROXY=true \
-e FORCE_CREATE=true \
--label=com.centurylinklabs.watchtower.enable=true \
joshuaavalon/cloudflare-ddns

@ -0,0 +1,21 @@
docker run -d \
--restart=always \
--name=blogmariasql \
-e PUID=0 \
-e PGID=0 \
-e MARIADB_ROOT_USER=* \
-e MARIADB_ROOT_PASSWORD=* \
-e MARIADB_DATABASE=wblogp \
-e MARIADB_DATABASE_USER=blog \
-e MARIADB_DATABASE_PASSWORD=* \
-e ALLOW_EMPTY_PASSWORD=no \
-v /home/aerya/docker/blog/uac/sql:/bitnami/mariadb \
docker.io/bitnami/mariadb:10.3-debian-10
GRANT ALL ON wblogp.* to 'blog'@'%' IDENTIFIED BY '*' WITH GRANT OPTION;
FLUSH PRIVILEGES;
EXIT;
Default user:pwd =>
mysql -u *-p wblogp -e "SELECT * FROM wp_users;"
mysql -u *-p wblogp -e "UPDATE wp_users SET user_pass=MD5('*') WHERE ID='1';"

@ -0,0 +1,15 @@
docker run -d \
--restart=always \
--name=bloguacwp \
-e PUID=0 \
-e PGID=0 \
-e MARIADB_HOST=blogmariasql \
-e MARIADB_PORT_NUMBER=3306 \
-e WORDPRESS_DATABASE_USER=blog \
-e WORDPRESS_DATABASE_NAME=wblogp \
-e WORDPRESS_DATABASE_PASSWORD=* \
-e ALLOW_EMPTY_PASSWORD=no \
-v /home/aerya/docker/blog/uac/wp:/bitnami/wordpress \
--link blogmariasql \
-p 1022:8443 \
bitnami/wordpress:latest

@ -0,0 +1,20 @@
docker run -d \
--name botdarr \
--restart=always \
-e DISCORD_TOKEN="*" \
-e DISCORD_CHANNELS="reqz" \
-e RADARR_URL="http://10.0.4.65:7878" \
-e RADARR_TOKEN="*" \
-e RADARR_DEFAULT_PROFILE="HD-1080p" \
-e RADARR_PATH="/movies/unionfsRCLONECACHE/Films" \
-e SONARR_URL="http://10.0.4.65:8989" \
-e SONARR_TOKEN="*" \
-e SONARR_DEFAULT_PROFILE="HD" \
-e SONARR_PATH="/tv/unionfsRCLONECACHE/Series" \
-e MAX_DOWNLOADS_TO_SHOW="20" \
-e MAX_RESULTS_TO_SHOW="20" \
-e COMMAND_PREFIX="!" \
-v /volume1/docker/botdarr/db:/home/botdarr/database \
-v /volume1/docker/botdarr/logs:/home/botdarr/logs \
--label=com.centurylinklabs.watchtower.enable=true \
shayaantx/botdarr:5.4.0-experimental

@ -0,0 +1,31 @@
version: '3'
services:
cyphtsql:
image: mariadb:10
restart: always
container_name : cyphtsql
volumes:
- /home/aerya/docker/webmail/cypht/sql:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=*
- MYSQL_DATABASE=cypht
- MYSQL_USER=cypht
- MYSQL_PASSWORD=*
cypht:
image: sailfrog/cypht-docker:latest
restart: always
container_name : cypht
volumes:
- /home/aerya/docker/webmail/cypht/users:/var/lib/hm3/users
ports:
- "6723:80"
environment:
- CYPHT_AUTH_USERNAME=*
- CYPHT_AUTH_PASSWORD=*
- CYPHT_DB_HOST=cyphtsql
- CYPHT_DB_NAME=cypht
- CYPHT_DB_USER=cypht
- CYPHT_DB_PASS=*
- CYPHT_SESSION_TYPE=DB
labels:
- com.centurylinklabs.watchtower.enable=true
Loading…
Cancel
Save