发布应用 长毛象 Mastodon

Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
Meng Sen
2025-03-14 17:01:06 +08:00
parent 581ae09de7
commit 40e5a36018
2 changed files with 14 additions and 6 deletions

View File

@@ -72,6 +72,20 @@ additionalProperties:
labelEn: Database encryption primary key
required: true
type: text
- default: ""
edit: true
envKey: SECRET_KEY_BASE
labelZh: 密钥
labelEn: Secret key
required: true
type: text
- default: ""
edit: true
envKey: OTP_SECRET
labelZh: OTP 密钥
labelEn: OTP secret
required: true
type: text
- default: "127.0.0.1"
edit: true
envKey: DB_HOST

View File

@@ -22,8 +22,6 @@ services:
- ${MASTODON_ROOT_PATH}/system:/mastodon/public/system
environment:
- TZ=Asia/Shanghai
healthcheck:
test: [ 'CMD-SHELL',"curl -s --noproxy localhost localhost:3000/health | grep -q 'OK' || exit 1" ]
streaming-mastodon:
image: ghcr.io/mastodon/mastodon-streaming:v4.3.6
@@ -40,8 +38,6 @@ services:
- ${ENV_FILE:-/etc/1panel/envs/default.env}
environment:
- TZ=Asia/Shanghai
healthcheck:
test: [ 'CMD-SHELL', "curl -s --noproxy localhost localhost:4000/api/v1/streaming/health | grep -q 'OK' || exit 1" ]
sidekiq-mastodon:
image: ghcr.io/mastodon/mastodon:v4.3.6
@@ -58,5 +54,3 @@ services:
- ${MASTODON_ROOT_PATH}/system:/mastodon/public/system
environment:
- TZ=Asia/Shanghai
healthcheck:
test: [ 'CMD-SHELL', "ps aux | grep '[s]idekiq\ 6' || false" ]