Skip to content
This repository was archived by the owner on Mar 15, 2019. It is now read-only.

Commit d8fb682

Browse files
author
Julien Neuhart
authored
V2.0.0 beta2 (#11)
1 parent fa1b411 commit d8fb682

File tree

11 files changed

+307
-73
lines changed

11 files changed

+307
-73
lines changed

.docker/.orbit/orbit-build.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ commands:
1616
# | orbit run toolbox-build
1717
# |--------------------------------------------------------------------------
1818
# |
19-
# | Generates all configuration files plus the toolbox docker-compose file
20-
# | and builds the toolbox container.
19+
# | Generates the Toolbox container configuration files and builds it.
20+
# |
21+
# | If ENABLE_DOCKER_SYNC=true, also generates the Docker Sync configuration
22+
# | file.
2123
# |
2224

2325
- use: "toolbox-build"
@@ -37,7 +39,7 @@ commands:
3739
# | orbit run proxy-build
3840
# |--------------------------------------------------------------------------
3941
# |
40-
# | Generates the configuration and docker-compose files for Traefik.
42+
# | Generates the Traefik container configuration files.
4143
# |
4244

4345
- use: "proxy-build"
@@ -49,7 +51,7 @@ commands:
4951
# | orbit run graylog-build
5052
# |--------------------------------------------------------------------------
5153
# |
52-
# | Generates the configuration and docker-compose files for Graylog.
54+
# | Generates the Graylog containers configuration files.
5355
# |
5456

5557
- use: "graylog-build"
@@ -60,8 +62,8 @@ commands:
6062
# | orbit run build
6163
# |--------------------------------------------------------------------------
6264
# |
63-
# | Generates all configuration files plus the main docker-compose file and
64-
# | builds the NGINX and PHP-FPM containers.
65+
# | Generates the configuration files of your services and builds the NGINX
66+
# | and PHP-FPM containers.
6567
# |
6668

6769
- use: "build"
@@ -77,4 +79,4 @@ commands:
7779
{{- if eq "linux" .Os }}
7880
- /bin/bash .docker/.bin/usermod.sh
7981
{{- end }}
80-
- docker-compose -f .docker/docker-compose.yml build
82+
- docker-compose -p {{ .EnvFiles.Kickoff.ENV }}{{ .Values.Kickoff.project.name }} -f .docker/docker-compose.yml build

.docker/.orbit/orbit-docker-commands.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ commands:
1414
# | orbit run toolbox-ash
1515
# |--------------------------------------------------------------------------
1616
# |
17-
# | Connects through ash to the toolbox container.
17+
# | Connects through ash to the Toolbox container.
1818
# |
1919

2020
- use: "toolbox-ash"

.docker/.orbit/orbit-down.yml

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ commands:
1616
# | orbit run toolbox-down
1717
# |--------------------------------------------------------------------------
1818
# |
19-
# | Stops the toolbox container.
19+
# | Stops the Toolbox container.
20+
# |
21+
# | It should be the last to stop.
2022
# |
2123

2224
- use: "toolbox-down"
@@ -27,28 +29,30 @@ commands:
2729
- docker-compose -p {{ .EnvFiles.Kickoff.ENV }}{{ .Values.Kickoff.project.name }} -f .docker/docker-compose-toolbox.yml down
2830

2931
# |--------------------------------------------------------------------------
30-
# | orbit run graylog-down
32+
# | orbit run proxy-down
3133
# |--------------------------------------------------------------------------
3234
# |
33-
# | Stops the Graylog containers.
35+
# | Stops the Traefik container.
36+
# |
37+
# | It should be stop just before the Toolbox container.
3438
# |
3539

36-
- use: "graylog-down"
40+
- use: "proxy-down"
3741
run:
38-
- docker-compose -p {{ .EnvFiles.Kickoff.ENV }}{{ .Values.Kickoff.project.name }} -f .docker/docker-compose-graylog.yml down
42+
- docker-compose -p kickoff -f .docker/docker-compose-proxy.yml down
3943

4044
# |--------------------------------------------------------------------------
41-
# | orbit run proxy-down
45+
# | orbit run graylog-down
4246
# |--------------------------------------------------------------------------
4347
# |
44-
# | Stops the Traefik container.
48+
# | Stops the Graylog containers.
4549
# |
46-
# | If your others containers are still running, make sure you have run "down".
50+
# | They should be stop just before the Traefik container.
4751
# |
4852

49-
- use: "proxy-down"
53+
- use: "graylog-down"
5054
run:
51-
- docker-compose -p kickoff -f .docker/docker-compose-proxy.yml down
55+
- docker-compose -p {{ .EnvFiles.Kickoff.ENV }}{{ .Values.Kickoff.project.name }} -f .docker/docker-compose-graylog.yml down
5256

5357
# |--------------------------------------------------------------------------
5458
# | orbit run down
@@ -58,6 +62,8 @@ commands:
5862
# |
5963
# | On "local" environment, also stops the phpMyAdmin container.
6064
# |
65+
# | They should be the first to stop.
66+
# |
6167

6268
- use: "down"
6369
run:

.docker/.orbit/orbit-up.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ commands:
1616
# | orbit run toolbox-up
1717
# |--------------------------------------------------------------------------
1818
# |
19-
# | Starts the toolbox container.
19+
# | Starts the Toolbox container.
20+
# |
21+
# | It should be the first to start.
2022
# |
2123

2224
- use: "toolbox-up"
@@ -32,6 +34,8 @@ commands:
3234
# |
3335
# | Starts the Traefik container.
3436
# |
37+
# | It should be start after the Toolbox container.
38+
# |
3539

3640
- use: "proxy-up"
3741
run:
@@ -43,6 +47,8 @@ commands:
4347
# |
4448
# | Starts the Graylog containers.
4549
# |
50+
# | They should be start after the Traefik container.
51+
# |
4652

4753
- use: "graylog-up"
4854
run:
@@ -56,7 +62,7 @@ commands:
5662
# |
5763
# | On "local" environment, also starts the phpMyAdmin container.
5864
# |
59-
# | Make sure you have start other containers!
65+
# | They should be the last to start.
6066
# |
6167

6268
- use: "up"

.docker/php-fpm/Dockerfile.blueprint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:7.1-fpm-alpine
1+
FROM php:7.1.7-fpm-alpine
22

33
# |--------------------------------------------------------------------------
44
# | Main PHP extensions

.docker/toolbox/Dockerfile.blueprint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:7.1-alpine
1+
FROM php:7.1.7-alpine
22

33
# |--------------------------------------------------------------------------
44
# | Main PHP extensions

.env.blueprint

Lines changed: 22 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ENV=local
1414
# | Docker Sync
1515
# |--------------------------------------------------------------------------
1616
# |
17-
# | Enable Docker Sync to fix performance issues on Mac and Windows.
17+
# | If true, enable Docker Sync to fix performance issues on Mac and Windows.
1818
# |
1919
# | It requires Docker Sync to be installed on your host.
2020
# | See http://docker-sync.io/ for more details.
@@ -47,6 +47,25 @@ TRAEFIK_LOG_LEVEL=DEBUG
4747

4848
TRAEFIK_PASSWORD=secret
4949

50+
# |--------------------------------------------------------------------------
51+
# | Graylog password
52+
# |--------------------------------------------------------------------------
53+
# |
54+
# | The password of the user defined in the "kickoff.yml" file.
55+
# |
56+
57+
GRAYLOG_PASSWORD=secret
58+
59+
# |--------------------------------------------------------------------------
60+
# | Graylog Java options
61+
# |--------------------------------------------------------------------------
62+
# |
63+
# | The Java options for the Graylog server and Elasticsearch.
64+
# |
65+
66+
GRAYLOG_SERVER_JAVA_OPTS="-Xms1g -Xmx2g -XX:NewRatio=1 -XX:MaxMetaspaceSize=256m -server -XX:+ResizeTLAB -XX:+UseConcMarkSweepGC -XX:+CMSConcurrentMTEnabled -XX:+CMSClassUnloadingEnabled -XX:+UseParNewGC -XX:-OmitStackTraceInFastThrow"
67+
GRAYLOG_ES_JAVA_OPTS="-Xms256m -Xmx256m"
68+
5069
# |--------------------------------------------------------------------------
5170
# | MySQL password
5271
# |--------------------------------------------------------------------------
@@ -60,7 +79,7 @@ MYSQL_PASSWORD=secret
6079
# | MySQL root password
6180
# |--------------------------------------------------------------------------
6281
# |
63-
# | The root password.
82+
# | The MySQL root password.
6483
# |
6584

6685
MYSQL_ROOT_PASSWORD=admin
@@ -94,26 +113,6 @@ REDIS_PASSWORD=secret
94113

95114
RABBITMQ_PASSWORD=secret
96115

97-
# |--------------------------------------------------------------------------
98-
# | Graylog password
99-
# |--------------------------------------------------------------------------
100-
# |
101-
# | The password of the user defined in the "kickoff.yml" file.
102-
# |
103-
104-
GRAYLOG_PASSWORD=secret
105-
106-
# |--------------------------------------------------------------------------
107-
# | Graylog Java options
108-
# |--------------------------------------------------------------------------
109-
# |
110-
# | Java options for the Graylog server and Elasticsearch.
111-
# |
112-
113-
GRAYLOG_SERVER_JAVA_OPTS="-Xms1g -Xmx2g -XX:NewRatio=1 -XX:MaxMetaspaceSize=256m -server -XX:+ResizeTLAB -XX:+UseConcMarkSweepGC -XX:+CMSConcurrentMTEnabled -XX:+CMSClassUnloadingEnabled -XX:+UseParNewGC -XX:-OmitStackTraceInFastThrow"
114-
GRAYLOG_ES_JAVA_OPTS="-Xms256m -Xmx256m"
115-
116-
117116
# |--------------------------------------------------------------------------
118117
# | PHP memory limit
119118
# |--------------------------------------------------------------------------
@@ -125,5 +124,4 @@ GRAYLOG_ES_JAVA_OPTS="-Xms256m -Xmx256m"
125124
# |
126125

127126
TOOLBOX_PHP_MEMORY_LIMIT=-1
128-
PHP_FPM_MEMORY_LIMIT=128m
129-
127+
PHP_FPM_MEMORY_LIMIT=128m

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Contributing
22

3-
Hi! Thank your for considering contributing to Orbit. You'll
3+
Hi! Thank your for considering contributing to kickoff-docker-php. You'll
44
find below useful information about how to contribute to the docker-kickoff-php project.
55

66
## Contributing code

0 commit comments

Comments
 (0)