Skip to content

lorinlee/laradock-cli

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 

laradock-cli

A small commandline tool to create, start, stop laradock, or enter the workspace

Install

composer global require lorinlee/laradock-cli

Usage

# Enter the laravel project directory

# Create laradock
laradock init

# Start containers
laradock up nginx mysql redis

# Stop containers
laradock stop nginx 
# Or stop all containers
laradock stop

# Enter workspace
laradock bash
# Or use root
laradock bash --root

# List all containers
laradock ps

# Edit docker-compose.yml
laradock config

Now you can use your own repo

# Set repo config
laradock repo myownrepo git@github.com:lorinlee/laradock.git

# Set default repo
laradock repo config_default myownrepo

# Prefer to use submodules (default no)
laradock repo config_submodule yes

# Disable enable the use of the default containers (default yes)
laradock repo config_use_default_container yes

# Use configured repo to init
laradock init myownrepo

License

Apache License

About

laradock-cli, a small commandline tool to create, start, stop laradock, or enter the workspace

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages