mirror of
https://github.com/bitnami/containers.git
synced 2026-03-21 23:38:32 +08:00
2.0.3-debian-9-r7 release
Fixed issues with queues not processed
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
FROM bitnami/minideb-extras:stretch-r94
|
||||
FROM bitnami/minideb-extras:stretch-r95
|
||||
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
||||
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages ghostscript imagemagick libbsd0 libc6 libcomerr2 libcurl3 libedit2 libffi6 libgcc1 libgcrypt20 libgmp-dev libgmp10 libgnutls30 libgpg-error0 libgssapi-krb5-2 libhogweed4 libicu57 libidn11 libidn2-0 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 liblzma5 libncurses5 libnettle6 libnghttp2-14 libp11-kit0 libpq5 libpsl5 libreadline7 librtmp1 libsasl2-2 libssh2-1 libssl1.0.2 libssl1.1 libstdc++6 libtasn1-6 libtinfo5 libunistring0 libxml2 libxml2-dev libxslt1-dev libxslt1.1 sendmail zlib1g zlib1g-dev
|
||||
RUN install_packages ghostscript imagemagick libbsd0 libc6 libcomerr2 libcurl3 libedit2 libffi6 libgcc1 libgcrypt20 libgmp-dev libgmp10 libgnutls30 libgpg-error0 libgssapi-krb5-2 libhogweed4 libicu57 libidn11 libidn2-0 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 liblzma5 libncurses5 libnettle6 libnghttp2-14 libp11-kit0 libpq5 libpsl5 libreadline7 librtmp1 libsasl2-2 libssh2-1 libssl1.0.2 libssl1.1 libstdc++6 libtasn1-6 libtinfo5 libunistring0 libxml2 libxml2-dev libxslt1-dev libxslt1.1 zlib1g zlib1g-dev
|
||||
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.2-0 --checksum df308404f1e6ba3e811752e77a97a3b803590f431b24e88fa6dafe8abf76d037
|
||||
RUN bitnami-pkg unpack discourse-2.0.3-0 --checksum e6725918bcf974c9dcf469dea1b17564e6dbff7bdc7fdda7084fafc74e685044
|
||||
RUN bitnami-pkg unpack discourse-sidekiq-2.0.3-2 --checksum 0398d72968e9c479d50ee5cdbc6d7888015e1f63af99218d5715e975526f43f8
|
||||
RUN bitnami-pkg unpack discourse-2.0.3-1 --checksum cb708ef3d24eb586fe27d006946664b1e3e1bbb35f0e8fd24d2ee5ed13f54fed
|
||||
|
||||
COPY rootfs /
|
||||
ENV BITNAMI_APP_NAME="discourse" \
|
||||
BITNAMI_IMAGE_VERSION="2.0.3-debian-9-r6" \
|
||||
BITNAMI_IMAGE_VERSION="2.0.3-debian-9-r7" \
|
||||
DISCOURSE_EMAIL="user@example.com" \
|
||||
DISCOURSE_HOST="127.0.0.1" \
|
||||
DISCOURSE_PASSWORD="bitnami123" \
|
||||
|
||||
@@ -8,5 +8,10 @@
|
||||
"discoursePort": "{{$global.env.DISCOURSE_PORT}}",
|
||||
"redisHost": "{{$global.env.REDIS_HOST}}",
|
||||
"redisPassword": "{{$global.env.REDIS_PASSWORD}}",
|
||||
"redisPort": "{{$global.env.REDIS_PORT_NUMBER}}"
|
||||
"redisPort": "{{$global.env.REDIS_PORT_NUMBER}}",
|
||||
"smtpHost": "{{$global.env.SMTP_HOST}}",
|
||||
"smtpPassword": "{{$global.env.SMTP_PASSWORD}}",
|
||||
"smtpPort": "{{$global.env.SMTP_PORT}}",
|
||||
"smtpTls": "{{$global.env.SMTP_TLS}}",
|
||||
"smtpUser": "{{$global.env.SMTP_USER}}"
|
||||
}
|
||||
@@ -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-r5`, `2`, `2.0.3`, `2.0.3-r5`, `latest` (2/Dockerfile)](https://github.com/bitnami/bitnami-docker-discourse/blob/2.0.3-debian-9-r5/2/Dockerfile)
|
||||
* [`2-debian-9`, `2.0.3-debian-9-r7`, `2`, `2.0.3`, `2.0.3-r7`, `latest` (2/Dockerfile)](https://github.com/bitnami/bitnami-docker-discourse/blob/2.0.3-debian-9-r7/2/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/discourse GitHub repo](https://github.com/bitnami/bitnami-docker-discourse).
|
||||
|
||||
@@ -314,7 +314,7 @@ Available variables:
|
||||
|
||||
### SMTP Configuration
|
||||
|
||||
To configure Discourse to send email using SMTP you can set the following environment variables:
|
||||
To configure Discourse to send email using SMTP you can set the following environment variables for both container images, `discourse` and `discourse-sidekiq`:
|
||||
- `SMTP_HOST`: Host for outgoing SMTP email. No defaults.
|
||||
- `SMTP_PORT`: Port for outgoing SMTP email. No defaults.
|
||||
- `SMTP_USER`: User of SMTP used for authentication (likely email). No defaults.
|
||||
@@ -337,17 +337,19 @@ This would be an example of SMTP configuration using a GMail account:
|
||||
- SMTP_PASSWORD=your_password
|
||||
volumes:
|
||||
- 'discourse_data:/bitnami'
|
||||
```
|
||||
sidekiq:
|
||||
image: 'bitnami/discourse-sidekiq:latest'
|
||||
depends_on:
|
||||
- discourse
|
||||
volumes:
|
||||
- 'sidekiq_data:/bitnami'
|
||||
command: 'nami start --foreground discourse-sidekiq'
|
||||
environment:
|
||||
- SMTP_HOST=smtp.gmail.com
|
||||
- SMTP_PORT=587
|
||||
- SMTP_USER=your_email@gmail.com
|
||||
- SMTP_PASSWORD=your_password
|
||||
|
||||
* For manual execution:
|
||||
|
||||
```bash
|
||||
$ docker run -d --name discourse -p 80:3000 \
|
||||
--net discourse-tier \
|
||||
--env SMTP_HOST=smtp.gmail.com --env SMTP_PORT=587 \
|
||||
--env SMTP_USER=your_email@gmail.com --env SMTP_PASSWORD=your_password \
|
||||
--volume discourse_data:/bitnami \
|
||||
bitnami/discourse:latest
|
||||
```
|
||||
|
||||
# Contributing
|
||||
|
||||
Reference in New Issue
Block a user