Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 940 Bytes

File metadata and controls

18 lines (13 loc) · 940 Bytes

REST service: Containerization, Docker

Description

Your task is to build and run multi-container application using Docker.

Prerequisites

  1. Install Docker
  2. Create Docker Hub account Docker Hub

Implementation details

  1. Create .dockerignore file and list all files that should be ignored by Docker.
  2. Create Dockerfile that will be used for building image of PostgreSQL database.
  3. Create Dockerfile that will be used for building image of your application.
  4. Create docker-compose.yml file that will be used for running multi-container application (your application and PostgreSQL database). Specify custom network that will be used for communication between application and database containers.
  5. Build images and scan it for security vulnerabilities.
  6. Push built images to your personal or private repository on Docker Hub.