Skip to content

TusharShelke9/task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

task

  1. All container should be created in same network

we created same network "mynetwork" with bridge.

  1. Application container data should be persisted

we created volume for that like volumes: db-data: wordpress-data:

  1. Configurable fields should be passed as Environment variables

we created .env file and mention the version of apps

  1. Automatically restart if the container fails

we set policy for that restart: always

  1. configure minimum CPU and memory limits for containers

we set limit for CPU and memory deploy: resources: limits: cpus: '0.5' memory: 50M

  1. Choose light weighted image

we use alpine version of some image but not working proper because it doesnt have that binary

  1. Vulnerabilities in the image should be less

we created strong application security

Screenshot (171)

using alpine image

Screenshot (172)

docker running containers and images Screenshot (176)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages