Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 1 | version: "2.1" |
| 2 | services: |
| 3 | ################################################################ |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 4 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 5 | cassandra: |
| 6 | build: . |
| 7 | # context: cassandra |
| 8 | container_name: "sdc-cs" |
| 9 | restart: "always" |
| 10 | image: "ecomp-nexus:51212/ecomp/sdc-cassandra:1610.2.13" |
| 11 | logging: |
| 12 | driver: "json-file" |
| 13 | options: |
| 14 | max-size: "100m" |
| 15 | max-file: "10" |
| 16 | ports: |
| 17 | - "9042:9042" |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 18 | environment: |
| 19 | - ES_HEAP_SIZE=1073741824 |
| 20 | - HOST_IP:HOSTIP |
| 21 | - ENVNAME:DEP_ENV |
| 22 | volumes: |
| 23 | - /etc/localtime:/etc/localtime:ro |
| 24 | - /data/CS:/var/lib/cassandra |
| 25 | - /data/ASDC/environments:/root/chef-solo/environments |
| 26 | ulimits: |
| 27 | memlock: -1 |
| 28 | nproc: 65535 |
| 29 | nofile: |
| 30 | soft: 100000 |
| 31 | hard: 100000 |
| 32 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 33 | |
| 34 | jettyBE: |
| 35 | build: . |
| 36 | container_name: "sdc-be" |
| 37 | image: "ecomp-nexus:51212/ecomp/sdc-backend:1610.2.13" |
| 38 | mem_limit: "3g" |
| 39 | memswap_limit: "3g" |
| 40 | logging: |
| 41 | driver: "json-file" |
| 42 | options: |
| 43 | max-size: "100m" |
| 44 | max-file: "10" |
| 45 | ports: |
| 46 | - "8080:8080" |
| 47 | - "8443:8443" |
| 48 | environment: |
| 49 | - HOST_IP:HOSTIP |
| 50 | - ENVNAME:DEP_ENV |
| 51 | volumes: |
| 52 | - /etc/localtime:/etc/localtime:ro |
| 53 | - /data/ASDC/logs/BE:/var/lib/jetty/logs |
| 54 | - /data/ASDC/environments:/root/chef-solo/environments |
| 55 | ulimits: |
| 56 | memlock: -1 |
| 57 | nproc: 65535 |
| 58 | nofile: |
| 59 | soft: 100000 |
| 60 | hard: 100000 |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | jettyFE: |
| 66 | build: . |
| 67 | container_name: "sdc-fe" |
| 68 | image: "ecomp-nexus:51212/ecomp/sdc-frontend:1610.2.13" |
| 69 | mem_limit: "1g" |
| 70 | memswap_limit: "1g" |
| 71 | logging: |
| 72 | driver: "json-file" |
| 73 | options: |
| 74 | max-size: "100m" |
| 75 | max-file: "10" |
| 76 | ports: |
| 77 | - "8181:8181" |
| 78 | - "9443:9443" |
| 79 | environment: |
| 80 | - HOST_IP:HOSTIP |
| 81 | - ENVNAME:DEP_ENV |
| 82 | volumes: |
| 83 | - /etc/localtime:/etc/localtime:ro |
| 84 | - /data/ASDC/logs/FE:/var/lib/jetty/logs |
| 85 | - /data/ASDC/environments:/root/chef-solo/environments |
| 86 | ulimits: |
| 87 | memlock: -1 |
| 88 | nproc: 65535 |
| 89 | nofile: |
| 90 | soft: 100000 |
| 91 | hard: 100000 |