appstore-1panel/apps/discourse/3.3.2/docker-compose.yml
renovate[bot] 68447c32dc
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>
2024-10-09 14:06:38 +08:00

64 lines
2.3 KiB
YAML

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