This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
forked from mei23/misskey-v11
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1790 from TeamBlackCrystal/next
feat: next
- Loading branch information
Showing
71 changed files
with
1,363 additions
and
1,161 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: Publish DockerHub image | ||
|
||
on: | ||
# release: | ||
# types: [published] | ||
workflow_dispatch: | ||
inputs: | ||
buildVersion: | ||
description: 'input build version. ex: 11.37.1-rei0784-5.99.0' | ||
required: true | ||
default: '' | ||
buildId: | ||
description: 'input build id. ex: 1' | ||
required: true | ||
default: '' | ||
confirm: | ||
description: 'If run flow, input "run".' | ||
required: true | ||
default: '' | ||
|
||
jobs: | ||
push_to_registry: | ||
if: github.event.inputs.confirm == 'run' | ||
name: Push Docker image to Docker Hub | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check out the repo | ||
uses: actions/checkout@v2 | ||
- name: Setup QEMU | ||
uses: docker/setup-qemu-action@v1 | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v1 | ||
- name: Docker meta | ||
id: meta | ||
uses: docker/metadata-action@v3 | ||
with: | ||
images: sousuke0422/misskey | ||
- name: Log in to Docker Hub | ||
uses: docker/login-action@v1 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
- name: Build and Push to Docker Hub | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: . | ||
platforms: linux/amd64,linux/arm64 | ||
push: true | ||
# tags: ${{ steps.meta.outputs.tags }} | ||
tags: sousuke0422/misskey:latest,sousuke0422/misskey:11,sousuke0422/misskey:${{ github.event.inputs.buildVersion }}-${{ github.event.inputs.buildId }} | ||
labels: ${{ steps.meta.outputs.labels }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
apiVersion: v2 | ||
name: ayuskey | ||
version: 0.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,173 @@ | ||
#━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | ||
# Misskey configuration | ||
#━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | ||
|
||
# ┌─────┐ | ||
#───┘ URL └───────────────────────────────────────────────────── | ||
|
||
# Final accessible URL seen by a user. | ||
url: https://example.tld/ | ||
|
||
# ONCE YOU HAVE STARTED THE INSTANCE, DO NOT CHANGE THE | ||
# URL SETTINGS AFTER THAT! | ||
|
||
# ┌───────────────┐ | ||
#───┘ Port settings └─────────────────────────────────────────── | ||
|
||
# +----- https://example.tld/ ------------+ | ||
# +------+ |+-------------+ +----------------+| | ||
# | User | ---> || Proxy (443) | ---> | Misskey (3000) || | ||
# +------+ |+-------------+ +----------------+| | ||
# +---------------------------------------+ | ||
# | ||
# You need to setup reverse proxy. (eg. nginx) | ||
# You do not define 'https' section. | ||
|
||
# Listen port | ||
port: 3000 | ||
|
||
# ┌──────────────────────────┐ | ||
#───┘ PostgreSQL configuration └──────────────────────────────── | ||
|
||
db: | ||
#host: /var/run/postgresql #unixsocket | ||
host: localhost | ||
port: 5432 | ||
|
||
# Database name | ||
db: misskey | ||
|
||
# Auth | ||
user: example-misskey-user | ||
pass: example-misskey-pass | ||
|
||
# Whether disable Caching queries | ||
#disableCache: true | ||
|
||
# Extra Connection options | ||
#extra: | ||
# ssl: true | ||
|
||
# Use PGroonga | ||
#pgroonga: false | ||
|
||
# ┌─────────────────────┐ | ||
#───┘ Redis configuration └───────────────────────────────────── | ||
|
||
redis: | ||
#path: /var/run/redis/redis-server.sock #unixsocket | ||
host: localhost | ||
port: 6379 | ||
#pass: example-pass | ||
#prefix: example-prefix | ||
#db: 1 | ||
|
||
# ┌─────────────────────────────┐ | ||
#───┘ Elasticsearch configuration └───────────────────────────── | ||
|
||
#elasticsearch: | ||
# host: localhost | ||
# port: 9200 | ||
# ssl: false | ||
# user: | ||
# pass: | ||
|
||
# ┌─────────────────────┐ | ||
#───┘ Sonic configuration └───────────────────────────────────── | ||
|
||
#sonic: | ||
# host: localhost | ||
# port: 1491 | ||
# pass: example-pass | ||
|
||
|
||
# ┌───────────────┐ | ||
#───┘ ID generation └─────────────────────────────────────────── | ||
|
||
# You can select the ID generation method. | ||
# You don't usually need to change this setting, but you can | ||
# change it according to your preferences. | ||
|
||
# Available methods: | ||
# aid ... Short, Millisecond accuracy. Not recommended. | ||
# meid ... Similar to ObjectID, Millisecond accuracy | ||
# ulid ... Millisecond accuracy | ||
# objectid ... This is left for backward compatibility | ||
|
||
# Use meid or ulid | ||
|
||
# ONCE YOU HAVE STARTED THE INSTANCE, DO NOT CHANGE THE | ||
# ID SETTINGS AFTER THAT! | ||
|
||
id: 'meid' | ||
|
||
# ┌─────────────────────┐ | ||
#───┘ Instance configuration └───────────────────────────────────── | ||
|
||
# Disable Federation: (default: false) | ||
#disableFederation: true | ||
|
||
# Disable URL Preview (default: false) | ||
# disableUrlPreview: true | ||
|
||
# If enabled: | ||
# The first account created is automatically marked as Admin. | ||
autoAdmin: true | ||
|
||
# Number of worker processes | ||
#clusterLimit: 1 | ||
|
||
# Job concurrency per worker | ||
# deliverJobConcurrency: 128 | ||
# inboxJobConcurrency: 16 | ||
|
||
# Job rate limiter | ||
# deliverJobPerSec: 128 | ||
# inboxJobPerSec: 16 | ||
|
||
# Job attempts | ||
# deliverJobMaxAttempts: 12 | ||
# inboxJobMaxAttempts: 8 | ||
|
||
# Syslog option | ||
#syslog: | ||
# host: localhost | ||
# port: 514 | ||
|
||
# Media Proxy | ||
#mediaProxy: https://example.com/proxy | ||
|
||
# Sign to ActivityPub GET request (default: true) | ||
#signToActivityPubGet: true | ||
|
||
# Upload or download file size limits (bytes) | ||
#maxFileSize: 262144000 | ||
|
||
# ┌─────────────────────┐ | ||
#───┘ Network configuration └───────────────────────────────────── | ||
|
||
# IP address family used for outgoing request (ipv4, ipv6 or dual) | ||
#outgoingAddressFamily: ipv4 | ||
|
||
# Proxy for HTTP/HTTPS | ||
#proxy: http://127.0.0.1:3128 | ||
|
||
#proxyBypassHosts: [ | ||
# 'example.com', | ||
# '192.0.2.8' | ||
#] | ||
|
||
#allowedPrivateNetworks: [ | ||
# '127.0.0.1/32' | ||
#] | ||
|
||
# Proxy for SMTP/SMTPS | ||
#proxySmtp: http://127.0.0.1:3128 # use HTTP/1.1 CONNECT | ||
#proxySmtp: socks4://127.0.0.1:1080 # use SOCKS4 | ||
#proxySmtp: socks5://127.0.0.1:1080 # use SOCKS5 | ||
|
||
# ┌─────────────────────┐ | ||
#───┘ Other configuration └───────────────────────────────────── | ||
|
||
# url-preview "Access-Control-Allow-Origin: *" (default: false) (for External FE) | ||
#urlPreviewCors: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ include "ayuskey.fullname" . }}-config-file | ||
data: | ||
default.yml: |- | ||
{{ .Files.Get "files/default.yml"|indent 4 }} |
Oops, something went wrong.