{"id":13558924,"url":"https://github.com/srid/discourse-docker","last_synced_at":"2025-08-03T08:10:15.184Z","repository":{"id":10322545,"uuid":"12450901","full_name":"srid/discourse-docker","owner":"srid","description":"[unmaintained] Install and manage Discourse via docker [2014]","archived":false,"fork":false,"pushed_at":"2014-03-26T05:23:25.000Z","size":381,"stargazers_count":85,"open_issues_count":8,"forks_count":12,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-03T15:11:11.137Z","etag":null,"topics":["discourse","docker"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/srid.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-08-29T03:41:55.000Z","updated_at":"2023-03-16T08:21:17.000Z","dependencies_parsed_at":"2022-09-08T03:11:21.423Z","dependency_job_id":null,"html_url":"https://github.com/srid/discourse-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/srid/discourse-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srid%2Fdiscourse-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srid%2Fdiscourse-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srid%2Fdiscourse-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srid%2Fdiscourse-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srid","download_url":"https://codeload.github.com/srid/discourse-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srid%2Fdiscourse-docker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268512159,"owners_count":24261887,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-03T02:00:12.545Z","response_time":2577,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["discourse","docker"],"created_at":"2024-08-01T12:05:14.242Z","updated_at":"2025-08-03T08:10:15.156Z","avatar_url":"https://github.com/srid.png","language":"Shell","funding_links":[],"categories":["Shell","docker"],"sub_categories":[],"readme":"\u003c!-- -*- mode: Markdown; -*- --\u003e\n\ndiscourse-docker\n================\n\n[Discourse](http://discourse.org/) is a re-imagined online forum\nsoftware. Installing Discourse can be quite an involved process. We\nuse [Docker](http://www.docker.io/), an exciting new container\nmanagement tool, to greatly ease its install process.\n\nUsage\n-----\n\nGet yourself a Ubuntu 13.04 VM (I recommend\n[DigitalOcean](https://www.digitalocean.com/?refcode=efb0b61918fa)),\nand start getting Discourse up and running in a few minutes:\n\n```bash\n# Install docker\nopen http://docs.docker.io/en/latest/installation/ubuntulinux/#ubuntu-raring\n\n# Install postgresql-client for management-tasks\nsudo apt-get install postgresql-client\n\n# Install supervisor, the process manager\nsudo apt-get install python-pip\nsudo pip install supervisor\n\ngit clone https://github.com/srid/discourse-docker.git\ncd discourse-docker\n\n# Pull the docker images (expect this to download a few megabytes)\nmake pull  # or `make build` if you want to locally build them\n\n# Configure your discourse site domain (DISCOURSE_HOST)\nmore etc/env\necho 'export DISCOURSE_HOST=mysite.com:5000' \u003e .env\n# OPTIONAL: email support via postmarkapp.com.\n# later, add the 'From' address to Discourse admin settings.\necho 'export POSTMARK_API_KEY=\u003capikey\u003e' \u003e\u003e .env\n\n# Start supervisor on a separate terminal window. This will\n# automatically start the redis and postgresql containers.\nmake supervisor\n\n# Verify that redis-server and postgres are running.\n# Note: bin/sup is alias to `sudo supervisorctl`.\nbin/sup status\n\n# Setup the discourse database and compile static assets.\n# Note: postgres data is at data/postgres; discourse public/\n# (containing uploaded files) directory is mounted from\n# data/discourse-public.\nbin/discourse-start setup\n\n# Finally, start discourse, sidekiq and nginx\nbin/sup start discourse sidekiq nginx\n\n# Discourse is now running; launch the discourse site URL.\nmake info\n\n# After signing up for an account, make yourself an admin:\nbin/make-admin myusername\n```\n\nUpgrading to newer Discourse versions\n-----\n\n1. Set `DISCOURSE_VERSION` in discourse/Dockerfile to the appropriate version\n\n2. Rebuild the images using `make build`\n\n3. Stop supervisord, clean up running docker containers, and run `make supervisord`\n\n4. Run `bin/discourse-start setup` (this will run rake db:migrate)\n\n5. Run `bin/discourse-start \"bundle exec rake assets:precompile\"`\n\n6. Start discourse and the rest: `bin/sup start all`\n\nMigration\n---------\n\nTo migrate from an existing Discourse forum:\n\n0. Start only postgresql,redis\n\n1. Take a snapshot of the database and import it right after starting\n   the postgresql container.\n   \n2. Run `bin/discourse-start setup`. If the assets creation step fails,\n   try re-running it using `bin/discourse-start \"bundle exec rake\n   assets:precompile\"`.\n   \n3. Import public/uploads directory into data/discourse-public/uploads\n\n4. Start everything: bin/sup start all\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrid%2Fdiscourse-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrid%2Fdiscourse-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrid%2Fdiscourse-docker/lists"}