about summary refs log tree commit diff
path: root/db/migrate/20170105224407_add_shortcode_to_media_attachments.rb
diff options
context:
space:
mode:
authorBen Lubar <ben.lubar+github@gmail.com>2018-12-28 17:43:41 -0600
committerEugen Rochko <eugen@zeonfederated.com>2018-12-29 00:43:41 +0100
commit9b475a4838abc6143e26776816280e16abfc6193 (patch)
tree129063d639533e790fe5ad00d8c2fffc31adfe2b /db/migrate/20170105224407_add_shortcode_to_media_attachments.rb
parentd01c840e14d544e933d90f6e474ff0078bc4a899 (diff)
Add healthcheck commands to docker-compose.yml (#9143)
This will allow Docker to be automatically check the health of services.

Docker won't do anything other than showing the state in the output of
"docker-compose ps" by default, but some management tools may watch for
container health events.

Here's what my local instance looks like right now:

          Name                        Command                  State                     Ports
-------------------------------------------------------------------------------------------------------------
mastodon_db_1              docker-entrypoint.sh postgres    Up (healthy)
mastodon_es_1              /usr/local/bin/docker-entr ...   Up (healthy)
mastodon_redis_1           docker-entrypoint.sh redis ...   Up (healthy)
mastodon_redis_cache_1     docker-entrypoint.sh redis ...   Up (healthy)
mastodon_sidekiq_1         /sbin/tini -- bundle exec  ...   Up             3000/tcp, 4000/tcp
mastodon_streaming_1       /sbin/tini -- yarn start         Up (healthy)   3000/tcp, 127.0.0.1:4000->4000/tcp
mastodon_web_1             /sbin/tini -- bash -c rm - ...   Up (healthy)   127.0.0.1:3000->3000/tcp, 4000/tcp
Diffstat (limited to 'db/migrate/20170105224407_add_shortcode_to_media_attachments.rb')
0 files changed, 0 insertions, 0 deletions