-
-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Localized: - admin/cdn - admin/default-reaction - admin/emoji Copied japanese version: - admin/push-docker-hub Other files are still on english. admin/troubleshooting is outdated even on japanese version, so it's not localized until now.
- Loading branch information
jdh5968
committed
Jan 7, 2023
1 parent
e11ea6a
commit 210c800
Showing
4 changed files
with
51 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
# Set up a CDN | ||
# CDN 설정하기 | ||
|
||
When publishing your Misskey instance, we strongly recommend using a CDN such as [Cloudflare](https://www.cloudflare.com/). | ||
Misskey 인스턴스를 공개할 때, 저희는 [Cloudflare](https://www.cloudflare.com)와 같은 CDN 서비스를 사용하는 것을 추천합니다. | ||
|
||
Using a CDN has the following advantages | ||
CDN을 활용하면 이러한 장점이 있습니다: | ||
|
||
- You can have static content cached, which reduces the load on your server | ||
- The IP address of the server is less exposed, which can mitigate DoS attacks etc. | ||
- 정적 콘텐츠를 캐시해, 서버의 부하를 줄여줍니다. | ||
- 서버의 IP 주소가 덜 노출되어, DoS 공격과 같은 공격에 더 안전합니다. | ||
|
||
## Caching | ||
## 캐싱 | ||
|
||
Misskey Web is completely static and does not require a server to run. Therefore the whole Misskey Web can be cached in a CDN. | ||
The Misskey API cannot be cached. | ||
Misskey Web은 완전히 정적이며 서버 없이도 작동합니다. Misskey Web 클라이언트는 모두 CDN에 캐싱할 수 있습니다. | ||
Misskey API는 캐싱할 수 없습니다. | ||
|
||
You need to configure the following settings in your CDN | ||
다음 설정을 CDN에 구성해야 합니다: | ||
|
||
- Cache all requests except `/api/*`. | ||
- `/api/*`를 제외한 모든 요청을 캐싱 | ||
|
||
::: 팁 | ||
You don't need to clear the cache when you update Misskey. | ||
Misskey를 업데이트할 때, 모든 캐시를 삭제할 필요는 없습니다. | ||
:::: |
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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# Changing the default Reaction | ||
You can change the default reaction that is used when an ActivityPub "Like" is received from '👍' to '⭐' by changing the boolean value `meta.useStarForReactionFallback` in the databse respectively. | ||
# 기본 반응 변경 | ||
|
||
데이터베이스에서 `meta.useStarForReactionFallback` 불리언 값을 변경함으로서, ActivityPub에서 "좋아요"의 기본 표시를 '👍'에서 '⭐'로 변경할 수 있습니다. |
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 |
---|---|---|
@@ -1,6 +1,33 @@ | ||
# How to use GitHub Actions to push to Docker Hub | ||
::: warning | ||
Sorry, this page is not translated yet. If you can, please edit this page to translate the [Japanese version](/docs/admin/push-docker-hub.md). | ||
# GitHub Actions로 Docker Hub에 푸시하기 | ||
|
||
Until then, try using a machine translator. | ||
::: | ||
::: 경고 | ||
이 문서는 아직 영문/국문으로 번역되지 않아, 일본어로 제공됩니다. | ||
|
||
추후 번역되기 전까지는, 아래의 일문을 기계 번역하여 읽어주시기 바랍니다. | ||
::: | ||
|
||
[/.github/workflows/docker.yml](https://github.com/misskey-dev/misskey/blob/develop/.github/workflows/docker.yml) に | ||
GitHub Action により Docker Hub へ push するワークフローが記述されています。 | ||
|
||
オリジナルリポジトリでは、リリースされたタイミングで `latest`, `<リリース名>` それぞれのタグで Docker Hub に push されます。 | ||
※ Docker Hub に`<ブランチ名>`のようなタグがあるかもしれませんが、こちらは自動 push 対象ではありません。 | ||
|
||
Fork 先でこのワークフローを実行すると失敗します。 | ||
|
||
以下では、Fork 先で自分の Docker Hub リポジトリに push するようにする方法を記述します。 | ||
|
||
## 自分の Docker Hub リポジトリに push するように設定する方法 | ||
|
||
1. Docker Hub でリポジトリを作成します。 | ||
2. ワークフローファイルの [images](https://github.com/misskey-dev/misskey/blob/53f3b779bf16abcda4f6e026c51384f3b8fbcc62/.github/workflows/docker.yml#L20) を作成したリポジトリに置き換えます。 | ||
3. GitHub にて [暗号化されたシークレット](https://docs.github.com/ja/actions/reference/encrypted-secrets#creating-encrypted-secrets-for-a-repository) を作成します。 | ||
作成が必要なのは `DOCKER_USERNAME` と `DOCKER_PASSWORD` で、それぞれ Docker Hub のユーザーとパスワードになります。 | ||
|
||
## push する方法 | ||
|
||
上記設定によりリリース時に自動的に Docker Hub に push されるようになります。 | ||
具体的には、GitHub のリリース機能でリリースしたタイミングで `latest`, `<リリース名>` それぞれのタグで Docker Hub に push されます。 | ||
|
||
また、GitHub 上から手動で push することも出来ます。 | ||
それを行うには、Actions => Publish Docker image => Run workflow から branch を選択してワークフローを実行します。 | ||
ただし、この場合作成されるタグは`<ブランチ名>`になります。 |
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 |
---|---|---|
@@ -1,7 +1,9 @@ | ||
# Troubleshooting guide | ||
|
||
::: warning | ||
Sorry, this page is not translated yet. If you can, please edit this page to translate the [Japanese version](/docs/admin/troubleshooting.html). | ||
::: 경고 | ||
이 문서는 아직 국문/영문으로 번역되지 않았으며, 일문도 상당히 오래된 것으로 확인되고 있습니다. | ||
|
||
Until then, try using a machine translator. | ||
이 페이지는 여기에서 제공되지 않으며, [일본어 버전](/docs/admin/troubleshooting)만 제공되고 있습니다. | ||
|
||
일본어 버전을 번역해주시거나, 혹은 기계 번역을 이용해주시면 감사하겠습니다. | ||
::: |