Answers for "docker compose basic"

0

docker compose basic

# docker-compose.yml
version: '2'

services:
  web:
    build: .
    # build from Dockerfile
    context: ./Path
    dockerfile: Dockerfile
    ports:
     - "5000:5000"
    volumes:
     - .:/code
  redis:
    image: redis
Posted by: Guest on April-19-2021

Browse Popular Code Answers by Language