Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 952 Bytes

restart.md

File metadata and controls

35 lines (26 loc) · 952 Bytes

Restart Services

The devbox restart command combines devbox down and devbox up. It stops and removes all services, then updates the project, fetches recent sources, and builds services before starting them.

--8<-- "auto-detect-note.md"

Usage

devbox restart [--name <project-name>] [--profile <profile-name>]
Option Required Description
--name <project-name> no Project name. If not specified, will be detected from Git source
--profile <profile-name> no Profile to use from your docker-compose.yml file

Example

# Restart current project
devbox restart

# Restart specific project
devbox --name project-name restart

Output

[*] Restart services...
[+] Running 3/3
 ✔ Container example-app-api-1         Restarted      1.2s
 ✔ Container example-app-frontend-1    Restarted      1.2s
 ✔ Container example-app-worker-1      Restarted      1.2s