DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

A beginner’s guide to deploying a Docker application to production using Do

4 years ago medium.com
A beginner’s guide to deploying a Docker application to production using Do

Summary: This is a summary of an article originally published by the source. Read the full original article here →

In the previous lessons, we discussed the basics of Docker. If our application is as simple as an HTTP server, we can run it inside a single Docker container.

Docker Compose is not a part of Docker Engine which is why it has to be installed separately.

If an environment variable is not present in the shell environment, then Docker looks for the value of that environment variable inside .env file (if present) in the directory of the Compose file.

Instead of asking Docker Compose to create a default network for the service containers, we can create one or more networks manually that service containers can join.

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com