55# | This file describes the up commands of your project.
66# | Feel free to add your own commands!
77# |
8- # | Up order: toolbox-up proxy-up graylog-up up
8+ # | Up order: proxy-up graylog-up up
99# |
1010# | https://github.com/gulien/orbit/
1111# |
1212
1313commands :
1414
1515 # |--------------------------------------------------------------------------
16- # | orbit run toolbox -up
16+ # | orbit run proxy -up
1717 # |--------------------------------------------------------------------------
1818 # |
19- # | Starts the Toolbox container.
19+ # | Starts the Traefik container and calls the Toolbox container to generate
20+ # | the self-signed certificate on your "local" environment or the .htdigest
21+ # | file in others environments.
2022 # |
2123 # | It should be the first to start.
2224 # |
2325
24- - use : " toolbox -up"
26+ - use : " proxy -up"
2527 run :
26- {{- if eq "true" .EnvFiles.Kickoff.ENABLE_DOCKER_SYNC }}
27- - docker-sync start -c=docker-sync.yml
28- {{- end }}
29- - docker-compose -p {{ .EnvFiles.Kickoff.ENV }}{{ .Values.Kickoff.project.name }} -f .docker/docker-compose-toolbox.yml up -d
3028 - orbit run traefik-self-signed-certificate -c=.docker/.orbit/orbit-docker-commands.yml -v=Kickoff,kickoff.yml -e=Kickoff,.env -s
3129 - orbit run traefik-htdigest -c=.docker/.orbit/orbit-docker-commands.yml -v=Kickoff,kickoff.yml -e=Kickoff,.env -s
32- - orbit run graylog-passwords -c=.docker/.orbit/orbit-docker-commands.yml -v=Kickoff,kickoff.yml -e=Kickoff,.env -s
33-
34-
35- # |--------------------------------------------------------------------------
36- # | orbit run proxy-up
37- # |--------------------------------------------------------------------------
38- # |
39- # | Starts the Traefik container.
40- # |
41- # | It should be start after the Toolbox container.
42- # |
43-
44- - use : " proxy-up"
45- run :
4630 - docker-compose -p kickoff -f .docker/docker-compose-proxy.yml up -d
4731
4832 # |--------------------------------------------------------------------------
4933 # | orbit run graylog-up
5034 # |--------------------------------------------------------------------------
5135 # |
52- # | Starts the Graylog containers.
36+ # | Starts the Graylog containers and calls the Toolbox container to generate
37+ # | the Graylog secrets.
5338 # |
5439 # | They should be start after the Traefik container.
5540 # |
5641
5742 - use : " graylog-up"
5843 run :
44+ - orbit run graylog-secrets -c=.docker/.orbit/orbit-docker-commands.yml -v=Kickoff,kickoff.yml -e=Kickoff,.env -s
5945 - docker-compose -p {{ .EnvFiles.Kickoff.ENV }}{{ .Values.Kickoff.project.name }} -f .docker/docker-compose-graylog.yml up -d
6046
6147 # |--------------------------------------------------------------------------
@@ -64,6 +50,8 @@ commands:
6450 # |
6551 # | Starts the NGINX, PHP-FPM, MySQL, Redis and RabbitMQ containers.
6652 # |
53+ # | If ENABLE_DOCKER_SYNC=true, starts Docker Sync.
54+ # |
6755 # | On "local" environment, also starts the phpMyAdmin container.
6856 # |
6957 # | They should be the last to start.
@@ -72,4 +60,7 @@ commands:
7260 - use : " up"
7361 run :
7462 - orbit run graylog-health-check -c=.docker/.orbit/orbit-docker-commands.yml -v=Kickoff,kickoff.yml -e=Kickoff,.env -s
63+ {{- if eq "true" .EnvFiles.Kickoff.ENABLE_DOCKER_SYNC }}
64+ - docker-sync start -c=docker-sync.yml
65+ {{- end }}
7566 - docker-compose -p {{ .EnvFiles.Kickoff.ENV }}{{ .Values.Kickoff.project.name }} -f .docker/docker-compose.yml up -d
0 commit comments