vi example2-dc.yml
Write the below code
version: '3'
services:
web:
image: nginx:1.19
container_name: test1
ports:
- 86:86
database:
image: redis:latest
container_name: my_db
ports:
- "5432:5432"
Lists It is used to store Collection of data. Lists are created using square brackets: List Items Order cannot be changed. It can have dup...
No comments:
Post a Comment
Thank you for visiting my blog