Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

docker compose example

version: "3.9"  # optional since v1.27.0
services:
  web:
    build: .
    ports:
      - "8000:5000"
    volumes:
      - .:/code
      - logvolume01:/var/log
    depends_on:
      - redis
  redis:
    image: redis
volumes:
  logvolume01: {}
Comment

PREVIOUS NEXT
Code Example
Shell :: renaming a docker container 
Shell :: ubuntu 20 install quemu 
Shell :: pause in bash 
Shell :: install oh my zsh linux 
Shell :: git commit to a new branch 
Shell :: install font ubuntu 
Shell :: ubuntu not showing currently open application icons 
Shell :: how to ping in cmd 
Shell :: copy all files except one linux 
Shell :: install rails 
Shell :: how to copy the content of the file to clipboard in bash 
Shell :: powershell delete folder contents 
Shell :: shell profile 
Shell :: git display current head 
Shell :: top git commands 
Shell :: install leafpad ubuntu 2021 
Shell :: rsync only new files 
Shell :: windows kill process 
Shell :: create a virtual environment python 3.8 
Shell :: install ruby 
Shell :: linux get ip by domain 
Shell :: how to install pip on linux 
Shell :: sort numerically in linux ls 
Shell :: bash get first n characters 
Shell :: ffmpeg not installed 
Shell :: install nano in docker 
Shell :: uninstall node using n 
Shell :: bash scripts options without arg 
Shell :: bash initialize array 
Shell :: IlluminateHttpExceptionsPostTooLargeException Ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
4+8 =