You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 22, 2022. It is now read-only.
3. include the new images to the sw360chores docker-compose setup
diff --git a/deployment/configuration.env b/deployment/configuration.env
index b757d81..37e6c7e 100644
--- a/deployment/configuration.env+++ b/deployment/configuration.env@@ -7,6 +7,7 @@
# http://www.eclipse.org/legal/epl-v10.html
DEV_MODE=true
+REST=true
# CVE_SEARCH=false
# HTTPS_COUCHDB=false
# BACKUP_FOLDER=./_backup
diff --git a/deployment/docker-compose.rest.yml b/deployment/docker-compose.rest.yml
new file mode 100644
index 0000000..d3b799b
--- /dev/null+++ b/deployment/docker-compose.rest.yml@@ -0,0 +1,30 @@+# Copyright Bosch Software Innovations GmbH, 2017.+# Part of the SW360 Portal Project.+#+# All rights reserved. This program and the accompanying materials+# are made available under the terms of the Eclipse Public License v1.0+# which accompanies this distribution, and is available at+# http://www.eclipse.org/legal/epl-v10.html+++# This file adds a cve-search server to the sw360 environment.+# Use it together with the main docker-compose.yml as described+# in README.md++version: '2'+services:+ sw360-authorization-server:+ image: sw360restauthorization+ ports:+ - 8090:8090+ environment:+ - SW360_AUTHORIZATION_SERVER_ARGS=-Dspring.profiles.active=dev++ sw360-resource-server:+ image: sw360restresource+ ports:+ - 8091:8091+ networks:+ - sw360front+ environment:+ - SW360_THRIFT_SERVER_URL=http://sw360:8080diff --git a/deployment/docker-compose.sh b/deployment/docker-compose.sh
index 3fcac89..5b718f4 100755
--- a/deployment/docker-compose.sh+++ b/deployment/docker-compose.sh@@ -92,6 +92,7 @@ addSudoIfNeeded() {
cmdDocker="$(addSudoIfNeeded) env $(grep -v '^#' proxy.env | xargs) docker"
cmdDockerCompose="${cmdDocker}-compose -f $DIR/docker-compose.yml"
[ "$DEV_MODE" == "true" ] && cmdDockerCompose="$cmdDockerCompose -f $DIR/docker-compose.dev.yml"
+[ "$REST" == "true" ] && cmdDockerCompose="$cmdDockerCompose -f $DIR/docker-compose.rest.yml"
[ "$CVE_SEARCH" == "true" ] && {
cmdDockerCompose="$cmdDockerCompose -f $DIR/docker-compose.cve-search-server.yml"
[ "$DEV_MODE" == "true" ] && cmdDockerCompose="$cmdDockerCompose -f $DIR/docker-compose.dev.cve-search-server.yml"
From @bs-jokri on October 9, 2017 11:1
From @maxhbr on June 19, 2017 11:4
using the current sw360/sw360rest@6ce17c1 one can integrate its docker-compose setup into sw360chores via the following changes:
1. name the images created by sw360rest
(should be moved to upstream)
2. build the named images (in sw360rest):
3. include the new images to the sw360chores docker-compose setup
(based on https://github.com/bsinno/sw360-chores/tree/integration/2017_05_31)
Copied from original issue: bsinno/sw360#442
Copied from original issue: sw360/sw360portal#649
The text was updated successfully, but these errors were encountered: