ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 1 | version: '2' |
| 2 | |
| 3 | services: |
| 4 | db: |
sebdet | c2bcf2a | 2019-02-22 08:16:26 +0100 | [diff] [blame] | 5 | image: mariadb:10.3.12 |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 6 | volumes: |
| 7 | - "/var/lib/mysql" |
| 8 | - "../mariadb/conf1:/etc/mysql/conf.d:ro" |
| 9 | - "../../sql/:/docker-entrypoint-initdb.d:ro" |
| 10 | environment: |
| 11 | - MYSQL_ROOT_PASSWORD=strong_pitchou |
| 12 | ports: |
| 13 | - "3306:3306" |
| 14 | |
| 15 | clamp: |
| 16 | image: onap/clamp |
eh552t | b9fd58d | 2017-10-17 11:08:02 +0200 | [diff] [blame] | 17 | volumes: |
| 18 | - "./config/:/opt/clamp/config:rw" |
ChrisC | 5e9feb2 | 2017-06-21 02:38:57 -0700 | [diff] [blame] | 19 | depends_on: |
| 20 | - db |
| 21 | env_file: |
| 22 | - clamp.env |
| 23 | ports: |
| 24 | - "8080:8080" |
eh552t | 44fdc35 | 2018-07-04 11:56:28 +0200 | [diff] [blame] | 25 | - "8443:8443" |
ehautot | deb04e1 | 2018-02-22 17:31:54 +0100 | [diff] [blame] | 26 | |
ehautot | 153c829 | 2018-03-15 17:49:50 +0100 | [diff] [blame] | 27 | third_party_proxy: |
ehautot | deb04e1 | 2018-02-22 17:31:54 +0100 | [diff] [blame] | 28 | image: python:2-slim |
| 29 | volumes: |
ehautot | 153c829 | 2018-03-15 17:49:50 +0100 | [diff] [blame] | 30 | - "../../../src/test/resources/http-cache/example/:/thirdparty:rw" |
ehautot | deb04e1 | 2018-02-22 17:31:54 +0100 | [diff] [blame] | 31 | - "../../../src/test/resources/http-cache/:/script/:ro" |
ehautot | deb04e1 | 2018-02-22 17:31:54 +0100 | [diff] [blame] | 32 | ports: |
| 33 | - "8085:8085" |
ehautot | bfbbd8c | 2018-03-28 13:22:35 +0200 | [diff] [blame] | 34 | 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" |