blob: 1fb5111834acc722a21ffed99c75d58a9b732c0f [file] [log] [blame]
sebdet1e865922019-08-27 17:56:04 -07001version: '3.1'
ChrisC5e9feb22017-06-21 02:38:57 -07002
3services:
sebdet1e865922019-08-27 17:56:04 -07004 clamp-frontend:
5 image: onap/clamp-frontend
6 depends_on:
7 - clamp-backend
8 ports:
9 - "443:443"
ChrisC5e9feb22017-06-21 02:38:57 -070010 db:
sebdetcf87afa2019-09-11 13:18:42 +020011 image: mariadb:10.4.7
ChrisC5e9feb22017-06-21 02:38:57 -070012 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
sebdet1e865922019-08-27 17:56:04 -070021 clamp-backend:
sebdet756e7642019-08-20 07:54:34 -070022 image: onap/clamp-backend
ChrisC5e9feb22017-06-21 02:38:57 -070023 depends_on:
24 - db
sebdet1e865922019-08-27 17:56:04 -070025 - third-party-proxy
ChrisC5e9feb22017-06-21 02:38:57 -070026 env_file:
27 - clamp.env
28 ports:
eh552t44fdc352018-07-04 11:56:28 +020029 - "8443:8443"
sebdet1e865922019-08-27 17:56:04 -070030
31 third-party-proxy:
ehautotdeb04e12018-02-22 17:31:54 +010032 image: python:2-slim
33 volumes:
ehautot153c8292018-03-15 17:49:50 +010034 - "../../../src/test/resources/http-cache/example/:/thirdparty:rw"
ehautotdeb04e12018-02-22 17:31:54 +010035 - "../../../src/test/resources/http-cache/:/script/:ro"
ehautotdeb04e12018-02-22 17:31:54 +010036 ports:
37 - "8085:8085"
sebdet1e865922019-08-27 17:56:04 -070038 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"