- For
local
:- Following command will
compose
thedocker-compose.yml
file first and then usedocker-compose.override.yml
on top of it as an overlay:# This will compose `docker-compose.yml` first and then use `docker-compose.override.yml` on top of . docker-compose up -d
- For inspecting:
docker inspect TAB COMPLETION # Select `drupal`.
- To clean up:
docker-compose down
- Following command will
- For
CI
:- Following command will
compose
thedocker-compose.yml
file first and then usedocker-compose.test.yml
on top of it as an overlay:# Order of these files matter. docker-compose -f docker-compose.yml -f docker-compose.test.yml up -d
- For inspecting:
docker inspect TAB COMPLETION # Select `drupal`.
- To clean up:
docker-compose down
- Following command will
- For
Production
:- We need to build
output.yml
file by combining outputs of both compose and override compose yaml files:# Order of these files matter. docker-compose -f docker-compose.yml -f docker-compose.prod.yml config > output.yml
- Now,
output.yml
file is what we will be running onProduction
.
- We need to build
13-Full-App-Lifecycle-With-Dev-Test-Prod
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||