Q:

docker-compose example

# One single docker-compose.yml file
docker-compose up --build -d --remove-orphans

# Specify docker-compose.yml file to run
docker-compose -f docker-compose.yml up --build -d --remove-orphans
2
version: "3"

services:
	frontend:
    	restart: always
        build:
        	context: .
            dockerfile: Dockerfile
        network_mode: host
        volume:
         - /path/to/volume
3

New to Communities?

Join the community