discourse/bin/docker
David Taylor 73050d9049 DEV: Update docker development binstubs
- Add `d/ember-cli`, and publish port 4200
- Remove `d/sidekiq`. Sidekiq is now started with the rails server
- Move all `docker exec` logic into a single place, so we have one place to set environment variable pass-throughs
- Use `exec` for all bash scripts, so that return statuses are passed back correctly
- Avoid using `bin/bash -c` unnecessarily, because it makes escaping arguments difficult
2021-05-21 16:51:10 +01:00
..
boot_dev DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00
bundle DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00
cleanup DEV: Add docker cleanup script to d/ folder 2020-03-01 12:09:07 -08:00
discourse DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00
ember-cli DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00
exec DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00
mailcatcher DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00
migrate DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00
psql DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00
rails DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00
rake DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00
README.md Remove Docker dev-install instructions 2018-11-16 15:17:21 +05:30
reset_db Fix docker image name (#8058) 2019-09-04 16:19:48 +10:00
rspec DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00
shell DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00
shell_root DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00
shutdown_dev Improve docker performance with delegated mount flag (#5760) 2018-04-16 10:56:35 +02:00
unicorn DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00

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.