Refine access control, peer access
[federation.git] / gateway / src / test / resources / docker-compose.yml
1 version: '2.0'
2 services:
3   federation:
4     container_name: federation-gateway
5     image: federation-gateway:latest
6     environment:
7       SPRING_APPLICATION_JSON: '{
8         "server" : {
9           "port" : 9084,
10           "ssl" : {
11             "key-store" : "ist-acumosa.pkcs12",
12             "key-store-password" : "acumosa",
13             "key-store-type" : "PKCS12",
14             "key-password" : "acumosa",
15             "trust-store" : "acumosTrustStore.jks",
16             "trust-store-password" : "acumos",
17             "client-auth" : "need"
18           }
19         },
20         "client" : {
21           "ssl" : {
22             "key-store" : "file:///ist-acumosa.pkcs12",
23             "key-store-password" : "acumosa",
24             "key-store-type" : "PKCS12",
25             "key-password" : "acumosa"
26           }
27         },
28         "nexus": {
29           "url": "http://cognita-nexus01.eastus.cloudapp.azure.com:8081/repository/repo_cognita_model_maven/",
30           "proxy": "",
31           "password": "not4you",
32           "username": "cognita_model_rw",
33           "groupid": "com.artifact"
34         },
35         "spring": {
36           "profiles": {
37             "active": "gateway"
38           }
39         },
40         "peer": {
41           "jobchecker": {
42             "interval": 300
43           }
44         },
45         "federation" : {
46           "instance" : "gateway",
47           "instance.name": "ATT",
48           "operator" : "d468656f-57d0-46e3-9f94-7ffa4f66dc03"
49         },
50         "cdms" : {
51           "client" : {
52             "url": "http://mlp-cmn-data-svc:8000/ccds",
53             "username": "ccds_client",
54             "password": "ccds_client"
55           }
56         }
57       }'
58     expose:
59       - "9084"
60     ports:
61       - "9084:9084"
62     logging:
63       driver: json-file
64