@@ -30,84 +30,84 @@ help: ## Shows available commands with description
30
30
31
31
build : # # Build dev environment
32
32
ifeq ($(INSIDE_DOCKER_CONTAINER ) , 0)
33
- @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG=$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO=$(INNODB_USE_NATIVE_AIO) docker-compose -f docker-compose.yml build
33
+ @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG=$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO=$(INNODB_USE_NATIVE_AIO) SQL_MODE=$(SQL_MODE) docker-compose -f docker-compose.yml build
34
34
else
35
35
$(ERROR_ONLY_FOR_HOST)
36
36
endif
37
37
38
38
build-test : # # Build test or continuous integration environment
39
39
ifeq ($(INSIDE_DOCKER_CONTAINER ) , 0)
40
- @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG=$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO=$(INNODB_USE_NATIVE_AIO) docker-compose -f docker-compose-test-ci.yml build
40
+ @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG=$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO=$(INNODB_USE_NATIVE_AIO) SQL_MODE=$(SQL_MODE) docker-compose -f docker-compose-test-ci.yml build
41
41
else
42
42
$(ERROR_ONLY_FOR_HOST)
43
43
endif
44
44
45
45
build-staging : # # Build staging environment
46
46
ifeq ($(INSIDE_DOCKER_CONTAINER ) , 0)
47
- @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG =$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO =$(INNODB_USE_NATIVE_AIO ) docker-compose -f docker-compose-staging.yml build
47
+ @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) INNODB_USE_NATIVE_AIO =$(INNODB_USE_NATIVE_AIO) SQL_MODE =$(SQL_MODE ) docker-compose -f docker-compose-staging.yml build
48
48
else
49
49
$(ERROR_ONLY_FOR_HOST)
50
50
endif
51
51
52
52
build-prod : # # Build prod environment
53
53
ifeq ($(INSIDE_DOCKER_CONTAINER ) , 0)
54
- @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG =$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO =$(INNODB_USE_NATIVE_AIO ) docker-compose -f docker-compose-prod.yml build
54
+ @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) INNODB_USE_NATIVE_AIO =$(INNODB_USE_NATIVE_AIO) SQL_MODE =$(SQL_MODE ) docker-compose -f docker-compose-prod.yml build
55
55
else
56
56
$(ERROR_ONLY_FOR_HOST)
57
57
endif
58
58
59
59
start : # # Start dev environment
60
60
ifeq ($(INSIDE_DOCKER_CONTAINER ) , 0)
61
- @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG=$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO=$(INNODB_USE_NATIVE_AIO) docker-compose -f docker-compose.yml $(PROJECT_NAME) up -d
61
+ @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG=$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO=$(INNODB_USE_NATIVE_AIO) SQL_MODE=$(SQL_MODE) docker-compose -f docker-compose.yml $(PROJECT_NAME) up -d
62
62
else
63
63
$(ERROR_ONLY_FOR_HOST)
64
64
endif
65
65
66
66
start-test : # # Start test or continuous integration environment
67
67
ifeq ($(INSIDE_DOCKER_CONTAINER ) , 0)
68
- @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG=$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO=$(INNODB_USE_NATIVE_AIO) docker-compose -f docker-compose-test-ci.yml $(PROJECT_NAME) up -d
68
+ @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG=$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO=$(INNODB_USE_NATIVE_AIO) SQL_MODE=$(SQL_MODE) docker-compose -f docker-compose-test-ci.yml $(PROJECT_NAME) up -d
69
69
else
70
70
$(ERROR_ONLY_FOR_HOST)
71
71
endif
72
72
73
73
start-staging : # # Start staging environment
74
74
ifeq ($(INSIDE_DOCKER_CONTAINER ) , 0)
75
- @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG =$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO =$(INNODB_USE_NATIVE_AIO ) docker-compose -f docker-compose-staging.yml $(PROJECT_NAME) up -d
75
+ @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) INNODB_USE_NATIVE_AIO =$(INNODB_USE_NATIVE_AIO) SQL_MODE =$(SQL_MODE ) docker-compose -f docker-compose-staging.yml $(PROJECT_NAME) up -d
76
76
else
77
77
$(ERROR_ONLY_FOR_HOST)
78
78
endif
79
79
80
80
start-prod : # # Start prod environment
81
81
ifeq ($(INSIDE_DOCKER_CONTAINER ) , 0)
82
- @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG =$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO =$(INNODB_USE_NATIVE_AIO ) docker-compose -f docker-compose-prod.yml $(PROJECT_NAME) up -d
82
+ @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) INNODB_USE_NATIVE_AIO =$(INNODB_USE_NATIVE_AIO) SQL_MODE =$(SQL_MODE ) docker-compose -f docker-compose-prod.yml $(PROJECT_NAME) up -d
83
83
else
84
84
$(ERROR_ONLY_FOR_HOST)
85
85
endif
86
86
87
87
stop : # # Stop dev environment
88
88
ifeq ($(INSIDE_DOCKER_CONTAINER ) , 0)
89
- @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG=$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO=$(INNODB_USE_NATIVE_AIO) docker-compose -f docker-compose.yml $(PROJECT_NAME) down
89
+ @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG=$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO=$(INNODB_USE_NATIVE_AIO) SQL_MODE=$(SQL_MODE) docker-compose -f docker-compose.yml $(PROJECT_NAME) down
90
90
else
91
91
$(ERROR_ONLY_FOR_HOST)
92
92
endif
93
93
94
94
stop-test : # # Stop test or continuous integration environment
95
95
ifeq ($(INSIDE_DOCKER_CONTAINER ) , 0)
96
- @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG=$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO=$(INNODB_USE_NATIVE_AIO) docker-compose -f docker-compose-test-ci.yml $(PROJECT_NAME) down
96
+ @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG=$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO=$(INNODB_USE_NATIVE_AIO) SQL_MODE=$(SQL_MODE) docker-compose -f docker-compose-test-ci.yml $(PROJECT_NAME) down
97
97
else
98
98
$(ERROR_ONLY_FOR_HOST)
99
99
endif
100
100
101
101
stop-staging : # # Stop staging environment
102
102
ifeq ($(INSIDE_DOCKER_CONTAINER ) , 0)
103
- @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG =$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO =$(INNODB_USE_NATIVE_AIO ) docker-compose -f docker-compose-staging.yml $(PROJECT_NAME) down
103
+ @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) INNODB_USE_NATIVE_AIO =$(INNODB_USE_NATIVE_AIO) SQL_MODE =$(SQL_MODE ) docker-compose -f docker-compose-staging.yml $(PROJECT_NAME) down
104
104
else
105
105
$(ERROR_ONLY_FOR_HOST)
106
106
endif
107
107
108
108
stop-prod : # # Stop prod environment
109
109
ifeq ($(INSIDE_DOCKER_CONTAINER ) , 0)
110
- @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG =$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO =$(INNODB_USE_NATIVE_AIO ) docker-compose -f docker-compose-prod.yml $(PROJECT_NAME) down
110
+ @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) INNODB_USE_NATIVE_AIO =$(INNODB_USE_NATIVE_AIO) SQL_MODE =$(SQL_MODE ) docker-compose -f docker-compose-prod.yml $(PROJECT_NAME) down
111
111
else
112
112
$(ERROR_ONLY_FOR_HOST)
113
113
endif
@@ -140,56 +140,56 @@ endif
140
140
141
141
ssh : # # Get bash inside symfony docker container
142
142
ifeq ($(INSIDE_DOCKER_CONTAINER ) , 0)
143
- @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG=$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO=$(INNODB_USE_NATIVE_AIO) docker-compose $(PROJECT_NAME) exec $(OPTION_T) $(PHP_USER) symfony bash
143
+ @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG=$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO=$(INNODB_USE_NATIVE_AIO) SQL_MODE=$(SQL_MODE) docker-compose $(PROJECT_NAME) exec $(OPTION_T) $(PHP_USER) symfony bash
144
144
else
145
145
$(ERROR_ONLY_FOR_HOST)
146
146
endif
147
147
148
148
ssh-root : # # Get bash as root user inside symfony docker container
149
149
ifeq ($(INSIDE_DOCKER_CONTAINER ) , 0)
150
- @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG=$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO=$(INNODB_USE_NATIVE_AIO) docker-compose $(PROJECT_NAME) exec $(OPTION_T) symfony bash
150
+ @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG=$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO=$(INNODB_USE_NATIVE_AIO) SQL_MODE=$(SQL_MODE) docker-compose $(PROJECT_NAME) exec $(OPTION_T) symfony bash
151
151
else
152
152
$(ERROR_ONLY_FOR_HOST)
153
153
endif
154
154
155
155
ssh-nginx : # # Get bash inside nginx docker container
156
156
ifeq ($(INSIDE_DOCKER_CONTAINER ) , 0)
157
- @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG=$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO=$(INNODB_USE_NATIVE_AIO) docker-compose $(PROJECT_NAME) exec nginx /bin/sh
157
+ @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG=$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO=$(INNODB_USE_NATIVE_AIO) SQL_MODE=$(SQL_MODE) docker-compose $(PROJECT_NAME) exec nginx /bin/sh
158
158
else
159
159
$(ERROR_ONLY_FOR_HOST)
160
160
endif
161
161
162
162
ssh-supervisord : # # Get bash inside supervisord docker container (cron jobs running there, etc...)
163
163
ifeq ($(INSIDE_DOCKER_CONTAINER ) , 0)
164
- @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG=$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO=$(INNODB_USE_NATIVE_AIO) docker-compose $(PROJECT_NAME) exec supervisord bash
164
+ @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG=$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO=$(INNODB_USE_NATIVE_AIO) SQL_MODE=$(SQL_MODE) docker-compose $(PROJECT_NAME) exec supervisord bash
165
165
else
166
166
$(ERROR_ONLY_FOR_HOST)
167
167
endif
168
168
169
169
ssh-mysql : # # Get bash inside mysql docker container
170
170
ifeq ($(INSIDE_DOCKER_CONTAINER ) , 0)
171
- @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG=$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO=$(INNODB_USE_NATIVE_AIO) docker-compose $(PROJECT_NAME) exec mysql bash
171
+ @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG=$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO=$(INNODB_USE_NATIVE_AIO) SQL_MODE=$(SQL_MODE) docker-compose $(PROJECT_NAME) exec mysql bash
172
172
else
173
173
$(ERROR_ONLY_FOR_HOST)
174
174
endif
175
175
176
176
ssh-rabbitmq : # # Get bash inside rabbitmq docker container
177
177
ifeq ($(INSIDE_DOCKER_CONTAINER ) , 0)
178
- @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG=$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO=$(INNODB_USE_NATIVE_AIO) docker-compose $(PROJECT_NAME) exec rabbitmq /bin/sh
178
+ @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG=$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO=$(INNODB_USE_NATIVE_AIO) SQL_MODE=$(SQL_MODE) docker-compose $(PROJECT_NAME) exec rabbitmq /bin/sh
179
179
else
180
180
$(ERROR_ONLY_FOR_HOST)
181
181
endif
182
182
183
183
ssh-elasticsearch : # # Get bash inside elasticsearch docker container
184
184
ifeq ($(INSIDE_DOCKER_CONTAINER ) , 0)
185
- @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG=$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO=$(INNODB_USE_NATIVE_AIO) docker-compose $(PROJECT_NAME) exec elasticsearch bash
185
+ @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG=$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO=$(INNODB_USE_NATIVE_AIO) SQL_MODE=$(SQL_MODE) docker-compose $(PROJECT_NAME) exec elasticsearch bash
186
186
else
187
187
$(ERROR_ONLY_FOR_HOST)
188
188
endif
189
189
190
190
ssh-kibana : # # Get bash inside kibana docker container
191
191
ifeq ($(INSIDE_DOCKER_CONTAINER ) , 0)
192
- @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG=$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO=$(INNODB_USE_NATIVE_AIO) docker-compose $(PROJECT_NAME) exec kibana bash
192
+ @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG=$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO=$(INNODB_USE_NATIVE_AIO) SQL_MODE=$(SQL_MODE) docker-compose $(PROJECT_NAME) exec kibana bash
193
193
else
194
194
$(ERROR_ONLY_FOR_HOST)
195
195
endif
@@ -198,19 +198,19 @@ exec:
198
198
ifeq ($(INSIDE_DOCKER_CONTAINER ) , 1)
199
199
@$$cmd
200
200
else
201
- @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG=$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO=$(INNODB_USE_NATIVE_AIO) docker-compose $(PROJECT_NAME) exec $(OPTION_T) $(PHP_USER) symfony $$cmd
201
+ @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG=$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO=$(INNODB_USE_NATIVE_AIO) SQL_MODE=$(SQL_MODE) docker-compose $(PROJECT_NAME) exec $(OPTION_T) $(PHP_USER) symfony $$cmd
202
202
endif
203
203
204
204
exec-bash :
205
205
ifeq ($(INSIDE_DOCKER_CONTAINER ) , 1)
206
206
@bash -c "$(cmd)"
207
207
else
208
- @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG=$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO=$(INNODB_USE_NATIVE_AIO) docker-compose $(PROJECT_NAME) exec $(OPTION_T) $(PHP_USER) symfony bash -c "$(cmd)"
208
+ @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG=$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO=$(INNODB_USE_NATIVE_AIO) SQL_MODE=$(SQL_MODE) docker-compose $(PROJECT_NAME) exec $(OPTION_T) $(PHP_USER) symfony bash -c "$(cmd)"
209
209
endif
210
210
211
211
exec-by-root :
212
212
ifeq ($(INSIDE_DOCKER_CONTAINER ) , 0)
213
- @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG=$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO=$(INNODB_USE_NATIVE_AIO) docker-compose $(PROJECT_NAME) exec $(OPTION_T) symfony $$cmd
213
+ @HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) WEB_PORT_HTTP=$(WEB_PORT_HTTP) WEB_PORT_SSL=$(WEB_PORT_SSL) XDEBUG_CONFIG=$(XDEBUG_CONFIG) INNODB_USE_NATIVE_AIO=$(INNODB_USE_NATIVE_AIO) SQL_MODE=$(SQL_MODE) docker-compose $(PROJECT_NAME) exec $(OPTION_T) symfony $$cmd
214
214
else
215
215
$(ERROR_ONLY_FOR_HOST)
216
216
endif
0 commit comments