Sha256: 2cf7dedd5324e54f12979fc454624f40f97da4d6b3ac4029ad6d671e649a7ebb

Contents?: true

Size: 1.01 KB

Versions: 16

Compression:

Stored size: 1.01 KB

Contents

#!/bin/bash

set -e

# Ideally, the message below is shown after everything starts up. We can't
# achieve this using healtchecks because the interval for a healtcheck is
# also an initial delay, and we don't really want to do healthchecks on 
# our DB or Redis every 2 seconds.  So, we sleep just a bit to let
# the other containers start up and vomit out their output first.
sleep 2
# Output some helpful messaging when invoking `dx/start` (which itself is
# a convenience script for `docker compose up`.
#
# Adding this to work around the mild inconvenience of the `app` container's
# entrypoint generating no output.
#
cat <<-'PROMPT'



 🎉  Dev Environment Initialized! 🎉

 ℹī¸   To use this environment, open a new terminal and run

     dx/exec bash

 🕹  Use `ctrl-c` to exit.



PROMPT

# Using `sleep infinity` instead of `tail -f /dev/null`. This may be a 
# performance improvement based on the conversation on a semi-related
# StackOverflow page.
#
# @see https://stackoverflow.com/a/41655546
sleep infinity

Version data entries

16 entries across 16 versions & 3 rubygems

Version Path
brut-0.0.8 dx/show-help-in-app-container-then-wait.sh
brut-0.0.7 dx/show-help-in-app-container-then-wait.sh
brut-0.0.6 dx/show-help-in-app-container-then-wait.sh
brut-0.0.5 dx/show-help-in-app-container-then-wait.sh
brut-0.0.4 dx/show-help-in-app-container-then-wait.sh
brut-0.0.3 dx/show-help-in-app-container-then-wait.sh
brut-0.0.2 dx/show-help-in-app-container-then-wait.sh
gli-2.22.2 dx/show-help-in-app-container-then-wait.sh
gli-2.22.1 dx/show-help-in-app-container-then-wait.sh
brut-0.0.1 dx/show-help-in-app-container-then-wait.sh
gli-2.22.0 dx/show-help-in-app-container-then-wait.sh
with_clues-1.3.0 dx/show-help-in-app-container-then-wait.sh
gli-2.21.5 dx/show-help-in-app-container-then-wait.sh
gli-2.21.4 dx/show-help-in-app-container-then-wait.sh
gli-2.21.3 dx/show-help-in-app-container-then-wait.sh
gli-2.21.2 dx/show-help-in-app-container-then-wait.sh