Skip to main content

corgi run

corgi run

Run all databases and services

Synopsis

This command helps to run all services and their dependent services.

corgi run [flags]

Options

      --dbServices strings   Slice of db_services to choose from.

If you provide at least 1 db_service here, than corgi will choose only this db_service, while ignoring all others.
none - will ignore all db_services run.
(--dbServices db,db1,db2)

By default all db_services are included and run.

-h, --help help for run
--no-watch Dusable watch for changes in corgi-compose file
--omit strings Slice of parts of service to omit.

beforeStart - beforeStart in services is omitted.
afterStart - afterStart in services is omitted.

By default nothing is omitted

--pull Pull services repo changes
-s, --seed Seed all db_services that have seedSource or have dump.sql / dump.bak or other dump file in their folder
--services strings Slice of services to choose from.

If you provide at least 1 services here, than corgi will choose only this service, while ignoring all others.
none - will ignore all services run.
(--services app,server)

By default all services are included and run.

Options inherited from parent commands

      --describe                  Describe contents of corgi-compose file
--dockerContext string Specify docker context to use, can be default,orbctl,colima (default "default")
-l, --exampleList List examples to choose from. Click on any example to download it
-f, --filename string Custom filepath for for corgi-compose
--fromScratch Clean corgi_services folder before running
-t, --fromTemplate string Create corgi service from template url
--fromTemplateName string Create corgi service from template name and url
-g, --global Use global path to one of the services
--privateToken string Private token for private repositories to download files
--runOnce Run corgi once and exit
--silent Hide all welcome messages

SEE ALSO

  • corgi - Corgi cli magic friend
Auto generated by spf13/cobra on 2-Sep-2024