Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 936 Bytes

docker-compose.md

File metadata and controls

42 lines (27 loc) · 936 Bytes

Run docker image with Docker Compose

1. Quick use

Run docker container with Docker Compose.

Check out the project

❯ git clone https://github.com/ixnode/docker-recipes.git && \
  cd docker-recipes/recipes/03-composer

Copy the .env file and customize it according to your needs

❯ cp .env.dist .env

Start Containers and install libraries

# start containercd build
❯ docker-compose up -d

Open project in browser

2. Use your own docker-compose.yml

Copy the docker-compose.yml and all its used configuration files directly from the repository and customize them to your needs:

Start the container and install the dependencies as in the previous chapter.