product:deploy
Deploy the product using docker-compose.deploy.yml and the product docker/.env.
Usage
splent product:deploy
Description
This command deploys the active product using the deployment artifacts generated by product:build.
It:
- Requires:
<product>/docker/.env.deploy.example<product>/docker/docker-compose.deploy.yml
- Ensures
<product>/docker/.envexists (creates it from.env.deploy.exampleif missing). - Prompts interactively for variables whose value is
<SET>. - Writes the final
.env. - Runs:
docker compose -f docker-compose.deploy.yml --env-file .env up -d
Workflow
Typical deployment flow:
splent product:build
splent product:deploy
Requirements
- A product must be selected (
SPLENT_APPset). - You must run
splent product:buildbefore deploying.