Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We have different yml files because production and test environments use different SSL certificates. To keep your service from blocking the console, you should run your Docker container in detached mode using the -d option. Once a container is run in detached mode, any of its runtime errors will be hidden from the user. Thus, you need to manually check that there are no runtime errors during the launching of your service by looking at its log using

Code Block
sudo docker-compose logs -f

If there are no runtime errors, you will get an output similar to the one below.

Image Added

Now you can log out and the service will continue running on the EC2 instance.

...