2.0.3-debian-9-r11 release

Added DISCOURSE_HOSTNAME to configure the links in notifications
This commit is contained in:
Bitnami Bot
2018-08-07 19:14:21 +00:00
parent 39b8d6c096
commit 87c3b08aee
5 changed files with 11 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
FROM bitnami/minideb-extras:stretch-r98
FROM bitnami/minideb-extras:stretch-r99
LABEL maintainer "Bitnami <containers@bitnami.com>"
# Install required system packages and dependencies
@@ -6,14 +6,15 @@ RUN install_packages ghostscript imagemagick libbsd0 libc6 libcomerr2 libcurl3 l
RUN bitnami-pkg install ruby-2.4.4-0 --checksum 8ffc50475a39ffe9f3048a64df2e20e1867ece8ba90d8e96c8a81a3a06334f5f
RUN bitnami-pkg unpack postgresql-client-9.6.9-1 --checksum ad587c6b5c21b2f668e127d69551b0982bdb88745b50d514da9cab55a9855474
RUN bitnami-pkg install git-2.18.0-1 --checksum acf77a7b174b2b4201335fc400a4fa32dbdca237d18fa90a5fa76f4fd3008517
RUN bitnami-pkg unpack discourse-sidekiq-2.0.3-2 --checksum 0398d72968e9c479d50ee5cdbc6d7888015e1f63af99218d5715e975526f43f8
RUN bitnami-pkg unpack discourse-2.0.3-1 --checksum cb708ef3d24eb586fe27d006946664b1e3e1bbb35f0e8fd24d2ee5ed13f54fed
RUN bitnami-pkg unpack discourse-sidekiq-2.0.3-3 --checksum e4c7b22c02952eab450268ab904fe60ef32b6a5acd931723e361454a663f4abb
RUN bitnami-pkg unpack discourse-2.0.3-2 --checksum ba5511ad81fb35f9bb60def9ff263efa14a7e3c114691a3450a31abb2fc6c9ae
COPY rootfs /
ENV BITNAMI_APP_NAME="discourse" \
BITNAMI_IMAGE_VERSION="2.0.3-debian-9-r10" \
BITNAMI_IMAGE_VERSION="2.0.3-debian-9-r11" \
DISCOURSE_EMAIL="user@example.com" \
DISCOURSE_HOST="127.0.0.1" \
DISCOURSE_HOSTNAME="www.example.com" \
DISCOURSE_PASSWORD="bitnami123" \
DISCOURSE_PORT="3000" \
DISCOURSE_POSTGRESQL_NAME="bitnami_application" \

View File

@@ -28,6 +28,7 @@ services:
- DISCOURSE_POSTGRESQL_NAME=bitnami_application
- DISCOURSE_POSTGRESQL_USERNAME=bn_discourse
- DISCOURSE_POSTGRESQL_PASSWORD=bitnami1
- DISCOURSE_HOSTNAME=www.example.com
sidekiq:
image: 'bitnami/discourse:2'
depends_on:
@@ -41,6 +42,7 @@ services:
- DISCOURSE_POSTGRESQL_PASSWORD=bitnami1
- DISCOURSE_HOST=discourse
- DISCOURSE_PORT=3000
- DISCOURSE_HOSTNAME=www.example.com
volumes:
postgresql_data:
driver: local

View File

@@ -7,6 +7,7 @@
"databaseUser": "{{$global.env.DISCOURSE_POSTGRESQL_USERNAME}}",
"databaseUserPassword": "{{$global.env.DISCOURSE_POSTGRESQL_PASSWORD}}",
"email": "{{$global.env.DISCOURSE_EMAIL}}",
"hostname": "{{$global.env.DISCOURSE_HOSTNAME}}",
"password": "{{$global.env.DISCOURSE_PASSWORD}}",
"redisHost": "{{$global.env.REDIS_HOST}}",
"redisPassword": "{{$global.env.REDIS_PASSWORD}}",

View File

@@ -5,6 +5,7 @@
"databaseUser": "{{$global.env.DISCOURSE_POSTGRESQL_USERNAME}}",
"databaseUserPassword": "{{$global.env.DISCOURSE_POSTGRESQL_PASSWORD}}",
"discourseHost": "{{$global.env.DISCOURSE_HOST}}",
"discourseHostname": "{{$global.env.DISCOURSE_HOSTNAME}}",
"discoursePort": "{{$global.env.DISCOURSE_PORT}}",
"redisHost": "{{$global.env.REDIS_HOST}}",
"redisPassword": "{{$global.env.REDIS_PASSWORD}}",

View File

@@ -29,7 +29,7 @@ $ docker-compose up -d
* [`2-ol-7`, `2.0.3-ol-7-r5` (2/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-discourse/blob/2.0.3-ol-7-r5/2/ol-7/Dockerfile)
* [`2-debian-9`, `2.0.3-debian-9-r10`, `2`, `2.0.3`, `2.0.3-r10`, `latest` (2/Dockerfile)](https://github.com/bitnami/bitnami-docker-discourse/blob/2.0.3-debian-9-r10/2/Dockerfile)
* [`2-debian-9`, `2.0.3-debian-9-r11`, `2`, `2.0.3`, `2.0.3-r11`, `latest` (2/Dockerfile)](https://github.com/bitnami/bitnami-docker-discourse/blob/2.0.3-debian-9-r11/2/Dockerfile)
Subscribe to project updates by watching the [bitnami/discourse GitHub repo](https://github.com/bitnami/bitnami-docker-discourse).
@@ -301,6 +301,7 @@ Available variables:
- `DISCOURSE_PASSWORD`: Discourse application password. Default: **bitnami123**
- `DISCOURSE_EMAIL`: Discourse application email. Default: **user@example.com**
- `DISCOURSE_SITENAME`: Discourse site name. Default: **My site!**
- `DISCOURSE_HOSTNAME`: Dicourse Hostname to create application URLs for notifications. It can be either an IP or a domain. Default: **www.example.com**
- `POSTGRESQL_ROOT_USER`: Root user for the Postgresql database. Default: **postgres**
- `POSTGRESQL_ROOT_PASSWORD`: Root password for Postgresql.
- `POSTGRESQL_HOST`: Hostname for Postgresql server. Default: **postgresql**