Batteries included discourse web image, with minimal plugins
10K+
Discourse web vanilla image
Run with the following env vars:
DISCOURSE_DB_HOST - postgres hostnameDISCOURSE_DB_PASSWORD - postgres database passwordDISCOURSE_DEVELOPER_EMAILS - initial developer/admin emailDISCOURSE_HOSTNAME - hostnameDISCOURSE_REDIS_HOST - redis hostnameDISCOURSE_SMTP_ADDRESS - mail hostnameDISCOURSE_SMTP_PORT - mail portDISCOURSE_SMTP_USER_NAME - mail usernameDISCOURSE_SMTP_PASSWORD - mail passwordSample docker-compose file:
services:
# Mailhog for testing...
mail:
image: mailhog/mailhog
ports:
- 8025:8025
# Redis isn't as customized, use off the shelf
redis:
image: redis
restart: unless-stopped
volumes:
- ./shared/test-redis:/data
# separate db instance
# migrate to separated postgres data
#https://github.com/docker-library/postgres/pull/1259
# built from https://github.com/featheredtoast/discourse-db
db:
image: featheredtoast/discourse-db:pg15
restart: unless-stopped
volumes:
- ./shared/db:/var/lib/postgresql
- ./shared/db/data:/var/lib/postgresql/data
environment:
DB_PASSWORD: SOME_SECRET
# zero config/plugin batteries included image built from https://github.com/featheredtoast/discourse-docker-compose/blob/main/.github/workflows/push-web-only.yml
# built from `launcher build web_only`
web:
image: featheredtoast/discourse
restart: unless-stopped
links:
- db
- redis
- mail
environment:
DISCOURSE_DB_HOST: db
DISCOURSE_DB_PASSWORD: SOME_SECRET
DISCOURSE_DEVELOPER_EMAILS: [email protected]
DISCOURSE_HOSTNAME: localhost
DISCOURSE_REDIS_HOST: redis
DISCOURSE_SMTP_ADDRESS: mail
DISCOURSE_SMTP_PORT: 1025
DISCOURSE_SMTP_PASSWORD: pa$$word
DISCOURSE_SMTP_USER_NAME: [email protected]
ports:
- 443:443
- 80:80
depends_on:
- db
- redis
Content type
Image
Digest
sha256:59cf2aff8…
Size
599.7 MB
Last updated
18 days ago
docker pull featheredtoast/discourse