summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorHazelnoot <acomputerdog@gmail.com>2025-04-01 11:53:56 -0400
committerHazelnoot <acomputerdog@gmail.com>2025-04-01 11:53:56 -0400
commit6aab189ad19bfd68967ef3457b99adc2445a5bd7 (patch)
tree436f7b69650c0b1202ab73df94f5e2c6abeb64df /.config
parentdocs: add instructions for updating DynamicNote (diff)
downloadsharkey-6aab189ad19bfd68967ef3457b99adc2445a5bd7.tar.gz
sharkey-6aab189ad19bfd68967ef3457b99adc2445a5bd7.tar.bz2
sharkey-6aab189ad19bfd68967ef3457b99adc2445a5bd7.zip
copy changes to ci.yml
Diffstat (limited to '.config')
-rw-r--r--.config/ci.yml86
1 files changed, 81 insertions, 5 deletions
diff --git a/.config/ci.yml b/.config/ci.yml
index 2126f76337..bb8e592a5f 100644
--- a/.config/ci.yml
+++ b/.config/ci.yml
@@ -1,7 +1,78 @@
#━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
-# Misskey configuration
+# Sharkey configuration
#━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
+# ┌──────────────────────────────┐
+#───┘ a boring but important thing └────────────────────────────
+
+#
+# First of all, let me tell you a story that may possibly be
+# boring to you and possibly important to you.
+#
+# Sharkey is licensed under the AGPLv3 license. This license is
+# known to be often misunderstood. Please read the following
+# instructions carefully and select the appropriate option so
+# that you do not negligently cause a license violation.
+#
+
+# --------
+# Option 1: If you host Sharkey AS-IS (without any changes to
+# the source code. forks are not included).
+#
+# Step 1: Congratulations! You don't need to do anything.
+
+# --------
+# Option 2: If you have made changes to the source code (forks
+# are included) and publish a Git repository of source
+# code. There should be no access restrictions on
+# this repository. Strictly speaking, it doesn't have
+# to be a Git repository, but you'll probably use Git!
+#
+# Step 1: Build and run the Sharkey server first.
+# Step 2: Open <https://your.sharkey.example/admin/settings> in
+# your browser with the administrator account.
+# Step 3: Enter the URL of your Git repository in the
+# "Repository URL" field.
+
+# --------
+# Option 3: If neither of the above applies to you.
+# (In this case, the source code should be published
+# on the Sharkey interface. IT IS NOT ENOUGH TO
+# DISCLOSE THE SOURCE CODE WHEN A USER REQUESTS IT BY
+# E-MAIL OR OTHER MEANS. If you are not satisfied
+# with this, it is recommended that you read the
+# license again carefully. Anyway, enabling this
+# option will automatically generate and publish a
+# tarball at build time, protecting you from
+# inadvertent license violations. (There is no legal
+# guarantee, of course.) The tarball will generated
+# from the root directory of your codebase. So it is
+# also recommended to check <built/tarball> directory
+# once after building and before activating the server
+# to avoid ACCIDENTAL LEAKING OF SENSITIVE INFORMATION.
+# To prevent certain files from being included in the
+# tarball, add a glob pattern after line 15 in
+# <scripts/tarball.mjs>. DO NOT FORGET TO BUILD AFTER
+# ENABLING THIS OPTION!)
+#
+# Step 1: Uncomment the following line.
+#
+# publishTarballInsteadOfProvideRepositoryUrl: true
+
+# ┌────────────────────────┐
+#───┘ Initial Setup Password └─────────────────────────────────────────────────────
+
+# Password to initiate setting up admin account.
+# It will not be used after the initial setup is complete.
+#
+# Be sure to change this when you set up Sharkey via the Internet.
+#
+# The provider of the service who sets up Sharkey on behalf of the customer should
+# set this value to something unique when generating the Sharkey config file,
+# and provide it to the customer.
+#
+# setupPassword: example_password_please_change_this_or_you_will_get_hacked
+
# ┌─────┐
#───┘ URL └─────────────────────────────────────────────────────
@@ -15,11 +86,11 @@ url: http://misskey.local
#───┘ Port and TLS settings └───────────────────────────────────
#
-# Misskey requires a reverse proxy to support HTTPS connections.
+# Sharkey requires a reverse proxy to support HTTPS connections.
#
# +----- https://example.tld/ ------------+
# +------+ |+-------------+ +----------------+|
-# | User | ---> || Proxy (443) | ---> | Misskey (3000) ||
+# | User | ---> || Proxy (443) | ---> | Sharkey (3000) ||
# +------+ |+-------------+ +----------------+|
# +---------------------------------------+
#
@@ -27,7 +98,7 @@ url: http://misskey.local
# An encrypted connection with HTTPS is highly recommended
# because tokens may be transferred in GET requests.
-# The port that your Misskey server should listen on.
+# The port that your Sharkey server should listen on.
port: 3000
# ┌──────────────────────────┐
@@ -232,7 +303,7 @@ proxyRemoteFiles: true
# Movie Thumbnail Generation URL
# There is no reference implementation.
-# For example, Misskey will point to the following URL:
+# For example, Sharkey will point to the following URL:
# https://example.com/thumbnail.webp?thumbnail=1&url=https%3A%2F%2Fstorage.example.com%2Fpath%2Fto%2Fvideo.mp4
#videoThumbnailGenerator: https://example.com
@@ -253,6 +324,11 @@ attachLdSignatureForRelays: true
#customMOTD: ['Hello World', 'The sharks rule all', 'Shonks']
+# Disable automatic redirect for ActivityPub object lookup. (default: false)
+# This is a strong defense against potential impersonation attacks if the viewer instance has inadequate validation.
+# However it will make it impossible for other instances to lookup third-party user and notes through your URL.
+#disallowExternalApRedirect: true
+
# Upload or download file size limits (bytes)
#maxFileSize: 262144000