This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/bin/docker
Sam Saffron ff33899323 FEATURE: allow publishing docker dev either locally or net wide
Previously we had no control over how internal ports in the containter got
published.

Following UNICORN_BIND_ALL=true setting this broke docker dev env and exposed
this weakness.

The new `d/boot_dev` will only export on localhost, if you wish to export
network with use `d/boot_dev -p`
2019-11-04 12:51:35 +11:00
..
boot_dev FEATURE: allow publishing docker dev either locally or net wide 2019-11-04 12:51:35 +11:00
bundle
discourse
mailcatcher
migrate
psql
rails
rake
README.md
reset_db Fix docker image name (#8058) 2019-09-04 16:19:48 +10:00
rspec DEV: default to test env when running d/rspec (#7962) 2019-08-02 16:40:46 +10:00
shell
shell_root
shutdown_dev
sidekiq FEATURE: introduce ultra_low priority queue 2019-01-17 14:53:19 +11:00
unicorn

Developing using Docker

Since Discourse runs in Docker, why not develop there? If you have Docker installed, you should be able to run Discourse directly from your source directory using a Discourse development container.

You can find installation instructions and related discussion in this meta topic: https://meta.discourse.org/t/beginners-guide-to-install-discourse-for-development-using-docker/102009

Where is the container image/Dockerfile defined?

The Dockerfile comes from discourse/discourse_docker on GitHub, in particular image/discourse_dev.