Docker compose

Features

docker-compose.yml

version: "3.9"
services:
  web:
    build: .
    ports:
      - "5000:5000"
  redis:
    image: "redis:alpine"
version: "3.9"
services:
  web:
    build: .
    ports:
      - "5000:5000"
    volumes:
      - .:/code
    environment:
      FLASK_ENV: development
  redis:
    image: "redis:alpine"

Docker Compose

1. Docker Compose ์†Œ๊ฐœ

2. Docker Compose ํŒŒ์ผ ๊ตฌ์กฐ

version: '3'
services:
  web:
    build:.
    ports:
      - "5000:5000"
  redis:
    image: "redis:alpine"

3. ์„œ๋น„์Šค ์ •์˜

4. ๋„คํŠธ์›Œํฌ ์ •์˜

networks:
  mynetwork:
    driver: bridge

5. ๋ณผ๋ฅจ ์ •์˜

volumes:
  myvolume:
    driver: local

6. Docker Compose ๋ช…๋ น์–ด

7. ์˜ˆ์ œ ํ”„๋กœ์ ํŠธ

8. ๊ณ ๊ธ‰ ์ฃผ์ œ

9. ์ž์ฃผ ๋ฌป๋Š” ์งˆ๋ฌธ

Docker Compose์™€ Kubernetes ๋น„๊ต: ๋‘ ๋„๊ตฌ์˜ ์ฐจ์ด์ ๊ณผ ๊ฐ๊ฐ์˜ ์žฅ๋‹จ์ ์— ๋Œ€ํ•ด ์„ค๋ช…

ref

What Else?
inflearn react api server -50% ํ• ์ธ์ฟ ํฐ: 15108-f2af1e086101 buy me a coffee