aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose
diff options
context:
space:
mode:
authorandre.schmid <andre.schmid@est.tech>2020-05-05 11:11:54 +0100
committerAndré Schmid <andre.schmid@est.tech>2020-05-06 10:29:59 +0000
commit27564b747db964cea07fe94d855ecedce6d6326d (patch)
tree3bf96133848f062c7904ce00aa3090173100d5f9 /docker-compose
parent43e7a9e755d089379074331cd2034d68b02dbca8 (diff)
Adjust docker-compose and SSL config
SSL is disabled by default as it is documented in the README. Expose a port for cassandra docker. Fix sdc-workflow-backend SDC_ENDPOINT environment variable. Add some build artifacts to gitignore. Issue-ID: SDC-3020 Change-Id: If4d81752f6b7c2c1ec2a73327bebbb8ef3ce0420 Signed-off-by: andre.schmid <andre.schmid@est.tech>
Diffstat (limited to 'docker-compose')
-rw-r--r--docker-compose/.env7
-rw-r--r--docker-compose/cassandra.yml3
-rw-r--r--docker-compose/docker-compose.yml2
3 files changed, 8 insertions, 4 deletions
diff --git a/docker-compose/.env b/docker-compose/.env
index 58f6cb30..0268cd62 100644
--- a/docker-compose/.env
+++ b/docker-compose/.env
@@ -1,4 +1,5 @@
-IMAGE_TAG=latest
+#IMAGE_TAG=latest
+# If you want to use your local build, leave the value empty REGISTRY=
REGISTRY=nexus3.onap.org:10001/
JAVA_OPTIONS=-Xmx1536m -Xms1536m
# CS_HOST is set to a dummy string "yyy". This pattern will be used as an identifier to be replaced by the actual
@@ -19,4 +20,6 @@ SDC_PROTOCOL=HTTP
SDC_USER=workflow
SDC_PASSWORD=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
FRONTEND_PORT=8184
-FRONTEND_DEBUG_PORT=7000 \ No newline at end of file
+FRONTEND_DEBUG_PORT=7000
+# To enable HTTPS
+#SERVER_SSL_ENABLED=true \ No newline at end of file
diff --git a/docker-compose/cassandra.yml b/docker-compose/cassandra.yml
index 28d681e7..86b57233 100644
--- a/docker-compose/cassandra.yml
+++ b/docker-compose/cassandra.yml
@@ -1,5 +1,6 @@
version: '3'
services:
-
cassandra:
image: "cassandra:3.11.4"
+ ports:
+ - "9042:9042"
diff --git a/docker-compose/docker-compose.yml b/docker-compose/docker-compose.yml
index b2250ce0..41e6e453 100644
--- a/docker-compose/docker-compose.yml
+++ b/docker-compose/docker-compose.yml
@@ -21,7 +21,7 @@ services:
- CS_PASSWORD
- CS_PORT=${CASSANDRA_PORT}
- SDC_PROTOCOL
- - SDC_ENDPOINT="${SDC_HOST}:8080"
+ - SDC_ENDPOINT=${SDC_HOST}:8080
- SDC_USER
- SDC_PASSWORD