Now that you've got a hello world Navy set up, here's some examples of what you might want to do on a day-to-day basis.
You can view all of your services for a Navy by running:
$ navy ps
Navy allows you to swap out the tag being used for the Docker image temporarily. This can be done with:
$ navy use-tag my-awesome-webapp custom-tag
It will now be using custom-tag
, and will show on navy status
and navy ps
.
To reset back to the default tag defined in the Docker Compose config, run:
$ navy reset-tag my-awesome-webapp
Navy is very similar to Docker Compose when it comes to streaming logs:
$ navy logs my-awesome-webapp
See working with multiple Navies.