docbrown/bin
Thai Pangsakulyanont 5d97ca86c5
Improve docker setup script (#7378)
* Add set -e to docker-setup script

* Add error handling for db setup stage

* Sometimes Elasticsearch takes time to boot up

* Also delete docker_data

* search:setup must come first

* Revert "Sometimes Elasticsearch takes time to boot up"

This reverts commit e975f6e5c3edad084d4f2c4d8718675bf5c8d07c.

Reason for revert:
Instead of using wait-on, we can use Docker’s health check instead

See review comment:
https://github.com/thepracticaldev/dev.to/pull/7378#discussion_r411839255

* Use wait-on without installing into package.json

* Add /usr/src/app/node_modules to volumes

Otherwise, webpacker will not run in docker-compose.

See: https://stackoverflow.com/questions/30043872/docker-compose-node-modules-not-present-in-a-volume-after-npm-install-succeeds
2020-04-24 18:45:27 -04:00
..
_guard-core Code cleanups (#659) 2018-08-07 11:00:13 -04:00
bundle Run rails app:update for 5.2.4.2 (#6743) [deploy] 2020-03-23 10:38:20 -04:00
chromedriver-update Switch from chromedriver-helper to webdrivers (#2465) [ci skip] 2019-04-16 13:46:23 -04:00
docker-setup Improve docker setup script (#7378) 2020-04-24 18:45:27 -04:00
guard Code cleanups (#659) 2018-08-07 11:00:13 -04:00
parallel_rspec Code cleanups (#659) 2018-08-07 11:00:13 -04:00
rails Upgrade Rails to 5.2.3 (#1408) 2019-04-03 13:08:59 -04:00
rake Upgrade Rails to 5.2.3 (#1408) 2019-04-03 13:08:59 -04:00
rspec Code cleanups (#659) 2018-08-07 11:00:13 -04:00
rspecov Code cleanups (#659) 2018-08-07 11:00:13 -04:00
rubocop Delayed Jobs Investigation (#929) 2018-10-17 17:03:20 -04:00
setup Unset DATABASE_URL in .gitpod.yml (#7059) 2020-04-03 15:56:43 +02:00
spring Code cleanups (#659) 2018-08-07 11:00:13 -04:00
startup Correct startup script and docs (#5940) 2020-02-06 17:04:54 -05:00
webpack Code cleanups (#659) 2018-08-07 11:00:13 -04:00
webpack-dev-server Code cleanups (#659) 2018-08-07 11:00:13 -04:00
yarn Upgrade Rails to 5.2.3 (#1408) 2019-04-03 13:08:59 -04:00