summaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/docker-compose.yml
blob: 20b97a1391fddbcd9606fae0befe8680e663ff74 (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
version: "2.1"
services:
################################################################

  cassandra:
    build: .
#    context: cassandra
    container_name: "sdc-cs"
    restart: "always"
    image: "ecomp-nexus:51212/ecomp/sdc-cassandra:1610.2.13"
    logging:
        driver: "json-file"
        options:
            max-size: "100m"
            max-file: "10"
    ports:
        - "9042:9042"
    environment:
        - ES_HEAP_SIZE=1073741824
        - HOST_IP:HOSTIP
        - ENVNAME:DEP_ENV
    volumes:
        - /etc/localtime:/etc/localtime:ro
        - /data/CS:/var/lib/cassandra
        - /data/ASDC/environments:/root/chef-solo/environments
    ulimits:
        memlock: -1
        nproc: 65535
        nofile:
            soft: 100000
            hard: 100000


  jettyBE:
    build: .
    container_name: "sdc-be"
    image: "ecomp-nexus:51212/ecomp/sdc-backend:1610.2.13"
    mem_limit: "3g"
    memswap_limit: "3g"
    logging:
        driver: "json-file"
        options:
            max-size: "100m"
            max-file: "10"
    ports:
        - "8080:8080"
        - "8443:8443"
    environment:
        - HOST_IP:HOSTIP
        - ENVNAME:DEP_ENV
    volumes:
        - /etc/localtime:/etc/localtime:ro
        - /data/ASDC/logs/BE:/var/lib/jetty/logs
        - /data/ASDC/environments:/root/chef-solo/environments
    ulimits:
        memlock: -1
        nproc: 65535
        nofile:
            soft: 100000
            hard: 100000

            
            

  jettyFE:
    build: .
    container_name: "sdc-fe"
    image: "ecomp-nexus:51212/ecomp/sdc-frontend:1610.2.13"
    mem_limit: "1g"
    memswap_limit: "1g"
    logging:
        driver: "json-file"
        options:
            max-size: "100m"
            max-file: "10"
    ports:
        - "8181:8181"
        - "9443:9443"
    environment:
        - HOST_IP:HOSTIP
        - ENVNAME:DEP_ENV      
    volumes:
        - /etc/localtime:/etc/localtime:ro
        - /data/ASDC/logs/FE:/var/lib/jetty/logs
        - /data/ASDC/environments:/root/chef-solo/environments
    ulimits:
        memlock: -1
        nproc: 65535
        nofile:
            soft: 100000
            hard: 100000