mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2026-06-16 01:02:14 +08:00
chore(deps): update bitnami/discourse docker tag to v3.3.2 (#2253)
* chore(deps): update bitnami/discourse docker tag to v3.3.2 * Update app version [skip ci] --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
This commit is contained in:
co-authored by
renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
github-action update-app-version
parent
de2a8cb0f8
commit
68447c32dc
@@ -0,0 +1,84 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: DISCOURSE_HOST
|
||||
labelEn: HOST
|
||||
labelZh: 访问域名
|
||||
required: true
|
||||
type: text
|
||||
- default: 3000
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: HTTP 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: admin
|
||||
disabled: true
|
||||
envKey: DISCOURSE_USERNAME
|
||||
labelEn: Admin User
|
||||
labelZh: 管理员
|
||||
required: true
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: DISCOURSE_EMAIL
|
||||
labelEn: email
|
||||
labelZh: 管理员邮箱
|
||||
required: true
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: DISCOURSE_PASSWORD
|
||||
labelEn: password(must length > 10)
|
||||
labelZh: 管理员密码(长度必须>10)
|
||||
required: true
|
||||
type: password
|
||||
rule: paramCommon
|
||||
- default: ""
|
||||
envKey: PANEL_DB_HOST
|
||||
key: postgresql
|
||||
labelEn: postgresql Database Service
|
||||
labelZh: postgresql数据库服务
|
||||
required: true
|
||||
type: service
|
||||
- default: discourse
|
||||
envKey: PANEL_DB_NAME
|
||||
labelEn: Database
|
||||
labelZh: 数据库名
|
||||
random: true
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
- default: discourse
|
||||
envKey: PANEL_DB_USER
|
||||
labelEn: User
|
||||
labelZh: 数据库用户
|
||||
random: true
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
- default: discourse
|
||||
envKey: PANEL_DB_USER_PASSWORD
|
||||
labelEn: Password
|
||||
labelZh: 数据库用户密码
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
- default: ""
|
||||
envKey: PANEL_REDIS_HOST
|
||||
key: redis
|
||||
labelEn: Redis Service
|
||||
labelZh: redis 服务
|
||||
required: true
|
||||
type: service
|
||||
- default: ""
|
||||
envKey: PANEL_REDIS_ROOT_PASSWORD
|
||||
labelEn: Password
|
||||
labelZh: redis 密码
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
@@ -0,0 +1,64 @@
|
||||
services:
|
||||
discourse:
|
||||
image: bitnami/discourse:3.3.2
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:3000"
|
||||
volumes:
|
||||
- ./data/discourse:/bitnami/discourse
|
||||
environment:
|
||||
DISCOURSE_HOST: ${DISCOURSE_HOST}
|
||||
DISCOURSE_USERNAME: ${DISCOURSE_USERNAME}
|
||||
DISCOURSE_PASSWORD: ${DISCOURSE_PASSWORD}
|
||||
DISCOURSE_EMAIL: ${DISCOURSE_EMAIL}
|
||||
DISCOURSE_DATABASE_HOST: ${PANEL_DB_HOST}
|
||||
DISCOURSE_DATABASE_PORT_NUMBER: ${PANEL_DB_PORT}
|
||||
DISCOURSE_DATABASE_USER: ${PANEL_DB_USER}
|
||||
DISCOURSE_DATABASE_PASSWORD: ${PANEL_DB_USER_PASSWORD}
|
||||
DISCOURSE_DATABASE_NAME: ${PANEL_DB_NAME}
|
||||
POSTGRESQL_CLIENT_POSTGRES_USER: ${PANEL_DB_USER}
|
||||
POSTGRESQL_CLIENT_POSTGRES_PASSWORD: ${PANEL_DB_USER_PASSWORD}
|
||||
POSTGRESQL_CLIENT_CREATE_DATABASE_NAME: ${PANEL_DB_NAME}
|
||||
POSTGRESQL_CLIENT_CREATE_DATABASE_EXTENSIONS: hstore,pg_trgm
|
||||
DISCOURSE_REDIS_HOST: ${PANEL_REDIS_HOST}
|
||||
DISCOURSE_REDIS_PASSWORD: ${PANEL_REDIS_ROOT_PASSWORD}
|
||||
DISCOURSE_SMTP_HOST: test
|
||||
DISCOURSE_SMTP_PORT_NUMBER: 0
|
||||
DISCOURSE_SMTP_USER: test
|
||||
DISCOURSE_SMTP_PASSWORD: test
|
||||
DISCOURSE_SMTP_PROTOCOL:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
sidekiq:
|
||||
image: bitnami/discourse:3.3.2
|
||||
container_name: ${CONTAINER_NAME}-sidekiq
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
depends_on:
|
||||
- discourse
|
||||
volumes:
|
||||
- ./data/sidekiq:/bitnami/discourse
|
||||
command: /opt/bitnami/scripts/discourse-sidekiq/run.sh
|
||||
environment:
|
||||
DISCOURSE_HOST: ${DISCOURSE_HOST}
|
||||
DISCOURSE_DATABASE_HOST: ${PANEL_DB_HOST}
|
||||
DISCOURSE_DATABASE_PORT_NUMBER: ${PANEL_DB_PORT}
|
||||
DISCOURSE_DATABASE_USER: ${PANEL_DB_USER}
|
||||
DISCOURSE_DATABASE_PASSWORD: ${PANEL_DB_USER_PASSWORD}
|
||||
DISCOURSE_DATABASE_NAME: ${PANEL_DB_NAME}
|
||||
DISCOURSE_REDIS_HOST: ${PANEL_REDIS_HOST}
|
||||
DISCOURSE_REDIS_PASSWORD: ${PANEL_REDIS_ROOT_PASSWORD}
|
||||
# DISCOURSE_SMTP_HOST: test
|
||||
# DISCOURSE_SMTP_PORT_NUMBER: 0
|
||||
# DISCOURSE_SMTP_USER: test
|
||||
# DISCOURSE_SMTP_PASSWORD: test
|
||||
# DISCOURSE_SMTP_PROTOCOL:
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [[ -f ./.env ]]; then
|
||||
if grep -q "DISCOURSE_SKIP_BOOTSTRAP" ./.env; then
|
||||
echo "DISCOURSE_SKIP_BOOTSTRAP 已存在"
|
||||
else
|
||||
echo 'DISCOURSE_SKIP_BOOTSTRAP="yes"' >> ./.env
|
||||
fi
|
||||
else
|
||||
echo ".env 文件不存在"
|
||||
fi
|
||||
Reference in New Issue
Block a user