sebdet | 1e86592 | 2019-08-27 17:56:04 -0700 | [diff] [blame] | 1 | version: '3.1' |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 2 | |
| 3 | services: |
sebdet | 1e86592 | 2019-08-27 17:56:04 -0700 | [diff] [blame] | 4 | clamp-frontend: |
| 5 | image: onap/clamp-frontend |
| 6 | depends_on: |
| 7 | - clamp-backend |
| 8 | ports: |
| 9 | - "443:443" |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 10 | db: |
sebdet | c2bcf2a | 2019-02-22 08:16:26 +0100 | [diff] [blame] | 11 | image: mariadb:10.3.12 |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 12 | volumes: |
| 13 | - "/var/lib/mysql" |
| 14 | - "../mariadb/conf1:/etc/mysql/conf.d:ro" |
| 15 | - "../../sql/:/docker-entrypoint-initdb.d:ro" |
| 16 | environment: |
| 17 | - MYSQL_ROOT_PASSWORD=strong_pitchou |
| 18 | ports: |
| 19 | - "3306:3306" |
| 20 | |
sebdet | 1e86592 | 2019-08-27 17:56:04 -0700 | [diff] [blame] | 21 | clamp-backend: |
sebdet | 756e764 | 2019-08-20 07:54:34 -0700 | [diff] [blame] | 22 | image: onap/clamp-backend |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 23 | depends_on: |
| 24 | - db |
sebdet | 1e86592 | 2019-08-27 17:56:04 -0700 | [diff] [blame] | 25 | - third-party-proxy |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 26 | env_file: |
| 27 | - clamp.env |
| 28 | ports: |
eh552t | 44fdc35 | 2018-07-04 11:56:28 +0200 | [diff] [blame] | 29 | - "8443:8443" |
sebdet | 1e86592 | 2019-08-27 17:56:04 -0700 | [diff] [blame] | 30 | |
| 31 | third-party-proxy: |
ehautot | deb04e1 | 2018-02-22 17:31:54 +0100 | [diff] [blame] | 32 | image: python:2-slim |
| 33 | volumes: |
ehautot | 153c829 | 2018-03-15 17:49:50 +0100 | [diff] [blame] | 34 | - "../../../src/test/resources/http-cache/example/:/thirdparty:rw" |
ehautot | deb04e1 | 2018-02-22 17:31:54 +0100 | [diff] [blame] | 35 | - "../../../src/test/resources/http-cache/:/script/:ro" |
ehautot | deb04e1 | 2018-02-22 17:31:54 +0100 | [diff] [blame] | 36 | ports: |
| 37 | - "8085:8085" |
sebdet | 1e86592 | 2019-08-27 17:56:04 -0700 | [diff] [blame] | 38 | command: /bin/sh -c "pip install requests && pip install simplejson && python -u /script/third_party_proxy.py -v true --port 8085 --root /thirdparty --proxyaddress third-party-proxy:8085" |