timmmmyboy / docker-embed

Cross-domain Discourse Embedding

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker Embed

Quick plugin for Discourse to allow embedding in an iframe. For background see this thread. Plugin should be added to a Discourse Docker installation by adding the repo URL in the hooks section of your container configuration file like the following example:

hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - mkdir -p plugins
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/timmmmyboy/docker-embed.git

This plugin will add the appropriate headers to allow your Discourse install to be embedded within another site on a different domain.

About

Cross-domain Discourse Embedding


Languages

Language:Ruby 100.0%