Skip to content

Commit

Permalink
Add possibility to change URL scheme
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Wurster <miwurster@googlemail.com>
  • Loading branch information
miwurster committed Sep 16, 2020
1 parent 316afeb commit e70831c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ ENV WINERY_FEATURE_SPLITTING false
ENV WINERY_FEATURE_TEST_REFINEMENT false
ENV WINERY_FEATURE_EDMM_MODELING false
ENV DOCKERIZE_VERSION v0.6.1
ENV CHE_URL "che.localhost"
ENV CHE_URL_PROTOCOL "http://"

RUN rm /dev/random && ln -s /dev/urandom /dev/random \
&& curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash \
Expand Down
1 change: 0 additions & 1 deletion docker/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ if [ -z "${CHE_API}" ]; then
export CHE_URL=$cheUrl
fi


mkdir -p .winery
dockerize -template winery.yml.tpl:.winery/winery.yml
if [ -d "${WINERY_REPOSITORY_PATH}" ] && [ "$(ls -A ${WINERY_REPOSITORY_PATH})" ]; then
Expand Down
2 changes: 1 addition & 1 deletion docker/winery.yml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ui:
repositoryApiUrl: http://{{ .Env.WINERY_HOSTNAME }}:{{ .Env.WINERY_PORT }}/winery
repositoryUiUrl: http://{{ .Env.WINERY_HOSTNAME }}:{{ .Env.WINERY_PORT }}/#
edmmTransformationTool: http://{{ .Env.EDMM_TRANSFORMATION_HOSTNAME }}:{{ .Env.EDMM_TRANSFORMATION_PORT }}/plugins/check-model-support
eclipseChe: http://{{ .Env.CHE_URL }}
eclipseChe: {{ .Env.CHE_URL_PROTOCOL }}://{{ .Env.CHE_URL }}
repository:
provider: {{ .Env.WINERY_REPOSITORY_PROVIDER }}
repositoryRoot: {{ .Env.WINERY_REPOSITORY_PATH }}
Expand Down

0 comments on commit e70831c

Please sign in to comment.