github.com/hyperledger/aries-framework-go@v0.3.2/test/aries-js-worker/fixtures/docker-compose.yml (about) 1 # 2 # Copyright SecureKey Technologies Inc. All Rights Reserved. 3 # 4 # SPDX-License-Identifier: Apache-2.0 5 # 6 version: '2' 7 8 services: 9 10 router.agent.aries.js.example.com: 11 container_name: router.agent.aries.js.example.com 12 image: ${E2E_AGENT_REST_IMAGE}:${E2E_AGENT_REST_IMAGE_TAG} 13 environment: 14 - ARIESD_API_HOST=${E2E_ROUTER_HOST}:${E2E_ROUTER_API_PORT} 15 - ARIESD_INBOUND_HOST=${E2E_HTTP_SCHEME}@${E2E_ROUTER_HOST}:${E2E_ROUTER_HTTP_INBOUND_PORT},${E2E_WS_SCHEME}@${E2E_ROUTER_HOST}:${E2E_ROUTER_WS_INBOUND_PORT} 16 - ARIESD_INBOUND_HOST_EXTERNAL=${E2E_HTTP_SCHEME}@http://localhost:${E2E_ROUTER_HTTP_INBOUND_PORT},${E2E_WS_SCHEME}@ws://localhost:${E2E_ROUTER_WS_INBOUND_PORT} 17 - ARIESD_DATABASE_TYPE=mem 18 - ARIESD_DEFAULT_LABEL=carl-router-agent 19 - ARIESD_OUTBOUND_TRANSPORT=${E2E_HTTP_SCHEME},${E2E_WS_SCHEME} 20 - ARIESD_AUTO_ACCEPT=${E2E_ROUTER_AUTOACCEPT} 21 - ARIESD_LOG_LEVEL=DEBUG 22 - ARIESD_MEDIA_TYPE_PROFILES=${E2E_USER_MEDIA_TYPE_PROFILES} 23 ports: 24 - ${E2E_ROUTER_HTTP_INBOUND_PORT}:${E2E_ROUTER_HTTP_INBOUND_PORT} 25 - ${E2E_ROUTER_WS_INBOUND_PORT}:${E2E_ROUTER_WS_INBOUND_PORT} 26 - ${E2E_ROUTER_API_PORT}:${E2E_ROUTER_API_PORT} 27 command: start 28 depends_on: 29 - file-server.js.example.com 30 31 second.user.agent.aries.js.example.com: 32 container_name: second.user.agent.aries.js.example.com 33 image: ${E2E_AGENT_REST_IMAGE}:${E2E_AGENT_REST_IMAGE_TAG} 34 environment: 35 - ARIESD_API_HOST=${E2E_SECOND_USER_HOST}:${E2E_SECOND_USER_API_PORT} 36 - ARIESD_INBOUND_HOST=${E2E_HTTP_SCHEME}@${E2E_SECOND_USER_HOST}:${E2E_SECOND_USER_INBOUND_PORT} 37 - ARIESD_INBOUND_HOST_EXTERNAL=${E2E_HTTP_SCHEME}@http://second.user.agent.aries.js.example.com:${E2E_SECOND_USER_INBOUND_PORT} 38 - ARIESD_DEFAULT_LABEL=second-user-agent 39 - ARIESD_DATABASE_TYPE=mem 40 - ARIESD_AUTO_ACCEPT=${E2E_SECOND_USER_AUTOACCEPT} 41 - ARIESD_OUTBOUND_TRANSPORT=${E2E_HTTP_SCHEME},${E2E_WS_SCHEME} 42 - ARIESD_LOG_LEVEL=DEBUG 43 - ARIESD_HTTP_RESOLVER=${HTTP_DID_RESOLVER} 44 - ARIESD_CONTEXT_PROVIDER_URL=${CONTEXT_PROVIDER_URL} 45 - ARIESD_MEDIA_TYPE_PROFILES=${E2E_USER_MEDIA_TYPE_PROFILES} 46 ports: 47 - ${E2E_SECOND_USER_INBOUND_PORT}:${E2E_SECOND_USER_INBOUND_PORT} 48 - ${E2E_SECOND_USER_API_PORT}:${E2E_SECOND_USER_API_PORT} 49 command: start 50 depends_on: 51 - file-server.js.example.com 52 53 third.user.agent.aries.js.example.com: 54 container_name: third.user.agent.aries.js.example.com 55 image: ${E2E_AGENT_REST_IMAGE}:${E2E_AGENT_REST_IMAGE_TAG} 56 environment: 57 - ARIESD_API_HOST=${E2E_THIRD_USER_HOST}:${E2E_THIRD_USER_API_PORT} 58 - ARIESD_INBOUND_HOST=${E2E_HTTP_SCHEME}@${E2E_THIRD_USER_HOST}:${E2E_THIRD_USER_INBOUND_PORT} 59 - ARIESD_INBOUND_HOST_EXTERNAL=${E2E_HTTP_SCHEME}@http://third.user.agent.aries.js.example.com:${E2E_THIRD_USER_INBOUND_PORT} 60 - ARIESD_DEFAULT_LABEL=third-user-agent 61 - ARIESD_DATABASE_TYPE=mem 62 - ARIESD_AUTO_ACCEPT=${E2E_THIRD_USER_AUTOACCEPT} 63 - ARIESD_OUTBOUND_TRANSPORT=${E2E_HTTP_SCHEME},${E2E_WS_SCHEME} 64 - ARIESD_LOG_LEVEL=DEBUG 65 - ARIESD_HTTP_RESOLVER=${HTTP_DID_RESOLVER} 66 - ARIESD_CONTEXT_PROVIDER_URL=${CONTEXT_PROVIDER_URL} 67 - ARIESD_MEDIA_TYPE_PROFILES=${E2E_USER_MEDIA_TYPE_PROFILES} 68 ports: 69 - ${E2E_THIRD_USER_INBOUND_PORT}:${E2E_THIRD_USER_INBOUND_PORT} 70 - ${E2E_THIRD_USER_API_PORT}:${E2E_THIRD_USER_API_PORT} 71 command: start 72 depends_on: 73 - file-server.js.example.com 74 75 user.agent.aries.js.example.com: 76 container_name: user.agent.aries.js.example.com 77 image: ${E2E_AGENT_REST_IMAGE}:${E2E_AGENT_REST_IMAGE_TAG} 78 environment: 79 - ARIESD_API_HOST=${E2E_USER_HOST}:${E2E_USER_API_PORT} 80 - ARIESD_INBOUND_HOST=${E2E_HTTP_SCHEME}@${E2E_USER_HOST}:${E2E_USER_INBOUND_PORT} 81 - ARIESD_INBOUND_HOST_EXTERNAL=${E2E_HTTP_SCHEME}@http://user.agent.aries.js.example.com:${E2E_USER_INBOUND_PORT} 82 - ARIESD_DEFAULT_LABEL=user-agent 83 - ARIESD_DATABASE_TYPE=mem 84 - ARIESD_AUTO_ACCEPT=${E2E_USER_AUTOACCEPT} 85 - ARIESD_OUTBOUND_TRANSPORT=${E2E_HTTP_SCHEME},${E2E_WS_SCHEME} 86 - ARIESD_LOG_LEVEL=DEBUG 87 - ARIESD_HTTP_RESOLVER=${HTTP_DID_RESOLVER} 88 - ARIESD_CONTEXT_PROVIDER_URL=${CONTEXT_PROVIDER_URL} 89 - ARIESD_MEDIA_TYPE_PROFILES=${E2E_USER_MEDIA_TYPE_PROFILES} 90 ports: 91 - ${E2E_USER_INBOUND_PORT}:${E2E_USER_INBOUND_PORT} 92 - ${E2E_USER_API_PORT}:${E2E_USER_API_PORT} 93 command: start 94 depends_on: 95 - file-server.js.example.com 96 97 sidetree.aries.js.example.com: 98 container_name: sidetree.aries.js.example.com 99 image: ${SIDETREE_MOCK_FIXTURE_IMAGE}:${SIDETREE_MOCK_FIXTURE_IMAGE_TAG} 100 environment: 101 - SIDETREE_MOCK_HOST=0.0.0.0 102 - SIDETREE_MOCK_PORT=48326 103 - SIDETREE_MOCK_DID_NAMESPACE=did:sidetree:test 104 ports: 105 - 48326:48326 106 107 file-server.js.example.com: # file server for hosting static resources (e.g. JSON-LD contexts) 108 container_name: file-server.js.example.com 109 image: halverneus/static-file-server:latest 110 environment: 111 - PORT=10096 112 - FOLDER=/data 113 ports: 114 - "10096:10096" 115 volumes: 116 - ./data:/data