aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose/docker-compose.yml
blob: 6bfe8c7dbfb5e3225481edb0835235c87a8356aa (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
version: '3'
services:

  sdc-workflow-cassandra-init:
    image: "${REGISTRY}onap/sdc-workflow-init:${IMAGE_TAG}"
    environment:
        - CS_HOST
        - CS_AUTHENTICATE
        - CS_USER
        - CS_PASSWORD
        - CS_PORT
    networks:
      - sdc-network

  sdc-workflow-backend:
    depends_on:
      - sdc-workflow-cassandra-init
    image: "${REGISTRY}onap/sdc-workflow-backend:${IMAGE_TAG}"
    ports:
      - "8384:8080"
      - "10443:8443"
      - "8000:8000"
    environment:
        - JAVA_OPTIONS
        - CS_HOSTS=${CS_HOST}
        - CS_USER
        - CS_PASSWORD
        - CS_PORT
        - CS_AUTHENTICATE
        - CS_SSL_ENABLED
        - SDC_PROTOCOL
        - SDC_ENDPOINT=${SDC_HOST}:8080
        - SDC_USER
        - SDC_PASSWORD
        - SERVER_SSL_ENABLED
    networks:
      - sdc-network

  sdc-workflow-frontend:
    depends_on:
      - sdc-workflow-cassandra-init
      - sdc-workflow-backend
    image: "${REGISTRY}onap/sdc-workflow-frontend:${IMAGE_TAG}"
    ports:
        - "8484:8080"
        - "11443:8443"
    environment:
        - JAVA_OPTIONS
        - BACKEND=http://sdc-workflow-backend:8080
    networks:
      - sdc-network


networks:
  sdc-network:
    external: true