mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:26:54 -06:00
73050d9049
- 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
14 lines
252 B
Bash
Executable File
14 lines
252 B
Bash
Executable File
#!/bin/bash
|
|
|
|
exec docker exec \
|
|
-it \
|
|
-u discourse:discourse \
|
|
-w '/src' \
|
|
-e RUBY_GLOBAL_METHOD_CACHE_SIZE=131072 \
|
|
-e LD_PRELOAD=/usr/lib/libjemalloc.so \
|
|
-e RAILS_ENV \
|
|
-e NO_EMBER_CLI \
|
|
-e QUNIT_RAILS_ENV \
|
|
discourse_dev \
|
|
"$@"
|