mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-29 08:16:12 +08:00
2bbc44c586
* chore(deps): update bitnami/discourse docker tag to v3.3.1 * 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>
64 lines
2.3 KiB
YAML
64 lines
2.3 KiB
YAML
services:
|
|
discourse:
|
|
image: bitnami/discourse:3.3.1
|
|
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.1
|
|
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 |