File tree 3 files changed +11
-3
lines changed
3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,8 @@ DIRECTOR_REGISTRY_CACHING_TTL=900
32
32
33
33
S3_ACCESS_KEY=12345678
34
34
S3_BUCKET_NAME=simcore
35
- S3_ENDPOINT=minio:9000
35
+ # 172.17.0.1 is the docker0 interface, which redirect from inside a container onto the host network interface.
36
+ S3_ENDPOINT=172.17.0.1:9001
36
37
S3_SECRET_KEY=12345678
37
38
S3_SECURE=0
38
39
Original file line number Diff line number Diff line change @@ -190,10 +190,11 @@ endif
190
190
191
191
up-devel : .stack-simcore-development.yml .init-swarm $(CLIENT_WEB_OUTPUT ) # # Deploys local development stack, qx-compile+watch and ops stack (pass 'make ops_disabled=1 up-...' to disable)
192
192
# Start compile+watch front-end container [front-end]
193
- $(MAKE ) -C services/web/client compile-dev flags=--watch
193
+ $(MAKE_C ) services/web/client compile-dev flags=--watch
194
194
# Deploy stack $(SWARM_STACK_NAME) [back-end]
195
195
@docker stack deploy -c $< $(SWARM_STACK_NAME )
196
196
$(MAKE ) .deploy-ops
197
+ $(MAKE_C ) services/web/client follow-dev-logs
197
198
198
199
199
200
up-prod : .stack-simcore-production.yml .init-swarm # # Deploys local production stack and ops stack (pass 'make ops_disabled=1 up-...' to disable)
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ docker_compose := docker-compose -f tools/docker-compose.yml
11
11
docker_file := tools/qooxdoo-kit/builder/Dockerfile
12
12
docker_image := client/$(subst /Dockerfile,,$(docker_file ) ) :latest
13
13
14
+ container_name := qooxdoo-compiler
14
15
15
16
# qx compile --------------------------
16
17
@@ -25,13 +26,18 @@ source-output:
25
26
.PHONY : compile-dev
26
27
compile-dev : qx_packages source-output # # qx compiles host' 'source' -> host's 'source-output'. Use 'make compile-dev flags=--watch' for continuous compilation.
27
28
# qx compile 'source' $(flags) --> 'source-output' [itisfoundation/qooxdoo-kit:${QOOXDOO_KIT_TAG}]
28
- $(docker_compose ) run --detach --rm qooxdoo-kit \
29
+ $(docker_compose ) run --detach --rm --name= $( container_name ) qooxdoo-kit \
29
30
qx compile $(flags ) \
30
31
--set-env osparc.vcsRef=" ${VCS_REF} " \
31
32
--set-env osparc.vcsRefClient=" ${VCS_REF_CLIENT} " \
32
33
--set-env osparc.vcsStatusClient=" ${VCS_STATUS_CLIENT} " \
33
34
--set-env osparc.vcsOriginUrl=" ${VCS_URL} "
34
35
36
+ .PHONY : follow-dev-logs
37
+ follow-dev-logs : # # follow the logs of the qx compiler
38
+ @docker logs --follow $(container_name )
39
+
40
+
35
41
.PHONY : compile touch upgrade
36
42
compile compile-x : # # qx compiles host' 'source' -> image's 'build-output'
37
43
# qx compile 'source' within $(docker_image) image [itisfoundation/qooxdoo-kit:${QOOXDOO_KIT_TAG}]
You can’t perform that action at this time.
0 commit comments