summaryrefslogtreecommitdiffstats
path: root/docker-compose/docker-compose.yml
blob: daadff0e0b9d201c33652c67092bfbc30ad1508f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
version: '3'
services:
  
  workflow-cassandra-init:
    image: "${REGISTRY}onap/workflow-init:${IMAGE_TAG}"  
    environment:
        - CS_HOST
        - CS_AUTHENTICATE
        - CS_USER
        - CS_PASSWORD
        - CS_PORT=${CASSANDRA_INIT_PORT}

  workflow-backend:
    depends_on:
      - workflow-cassandra-init
    image: "${REGISTRY}onap/workflow-backend:${IMAGE_TAG}"
    environment:
        - JAVA_OPTIONS
        - CS_HOSTS=${CS_HOST}
        - CS_USER
        - CS_PASSWORD
        - CS_PORT=${CASSANDRA_PORT}
        - SDC_PROTOCOL
        - SDC_ENDPOINT="${SDC_HOST}:8080"
        - SDC_USER
        - SDC_PASSWORD

  workflow-frontend:
    depends_on:
      - workflow-cassandra-init
      - workflow-backend
    image: "${REGISTRY}onap/workflow-frontend:${IMAGE_TAG}"
    ports:
        - "${FRONTEND_PORT}:8080"
    environment:
        - JAVA_OPTIONS
        - BACKEND=http://workflow-backend:8080