blob: 5daca056bcc4cf0a1a2407caa8763ad93ae5f9c7 [file] [log] [blame]
ChrisC5e9feb22017-06-21 02:38:57 -07001version: '2'
2
3services:
4 db:
sebdetc2bcf2a2019-02-22 08:16:26 +01005 image: mariadb:10.3.12
ChrisC5e9feb22017-06-21 02:38:57 -07006 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
eh552tb9fd58d2017-10-17 11:08:02 +020017 volumes:
18 - "./config/:/opt/clamp/config:rw"
ChrisC5e9feb22017-06-21 02:38:57 -070019 depends_on:
20 - db
21 env_file:
22 - clamp.env
23 ports:
24 - "8080:8080"
eh552t44fdc352018-07-04 11:56:28 +020025 - "8443:8443"
ehautotdeb04e12018-02-22 17:31:54 +010026
ehautot153c8292018-03-15 17:49:50 +010027 third_party_proxy:
ehautotdeb04e12018-02-22 17:31:54 +010028 image: python:2-slim
29 volumes:
ehautot153c8292018-03-15 17:49:50 +010030 - "../../../src/test/resources/http-cache/example/:/thirdparty:rw"
ehautotdeb04e12018-02-22 17:31:54 +010031 - "../../../src/test/resources/http-cache/:/script/:ro"
ehautotdeb04e12018-02-22 17:31:54 +010032 ports:
33 - "8085:8085"
ehautotbfbbd8c2018-03-28 13:22:35 +020034 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"