diff --git a/docker-compose-2.yml b/docker-compose-2.yml index b900f1c96496869f0a51e16ef39c7edfc0bacc7b..8122851762f498b1e09b7e82ca9e25170d6b8eea 100644 --- a/docker-compose-2.yml +++ b/docker-compose-2.yml @@ -1,8 +1,21 @@ version: '3.9' +# networks: +# network2: +# name: network2 +# driver: bridge +# network1: +# name: network1 +# external: true + + networks: network2: - driver: bridge + # driver: bridge + name: test_network + external: true + + services: nats2: @@ -73,7 +86,7 @@ services: AGENT_WALLET_KEY: ssi-wallet-key AGENT_HOST: http://ssi-abstraction2 AGENT_INBOUND_PORT: 3001 - AGENT_PUBLIC_DID_SEED: 000000000000000_OCM_E2E_ENDORSER + AGENT_PUBLIC_DID_SEED: 000000000000000_OCM_E2E_ENDORSER_2 AGENT_AUTO_ACCEPT_CONNECTION: true AGENT_AUTO_ACCEPT_CREDENTIAL: contentApproved AGENT_LEDGER_ID: BCOVRIN_TEST @@ -85,6 +98,7 @@ services: - nats2 - init-s32 networks: + # - network1 - network2 devtools2: @@ -138,6 +152,7 @@ services: depends_on: - nats2 networks: + # - network1 - network2 credential-manager2: diff --git a/docker-compose-3.yml b/docker-compose-3.yml new file mode 100644 index 0000000000000000000000000000000000000000..5b1c8c3b867cb26e4d100fc8e4a0e43eff303a14 --- /dev/null +++ b/docker-compose-3.yml @@ -0,0 +1,40 @@ +version: '3.9' + +networks: + test_network: + # driver: bridge + name: test_network + external: true + +services: + nats: + image: nats + command: + [ + '--config', + 'nats-server.conf', + '--debug', + '--trace', + '--user', + 'nats_user', + '--pass', + 'nats_password', + ] + networks: + - test_network + + nats2: + image: nats + command: + [ + '--config', + 'nats-server.conf', + '--debug', + '--trace', + '--user', + 'nats_user', + '--pass', + 'nats_password', + ] + networks: + - test_network diff --git a/docker-compose.yml b/docker-compose.yml index c0ae7c58c4124e5307c33941f2d9fdf64e2965d4..1c27b6e8dfd64ce172478e666f5bfda5bb8af08c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,12 @@ version: '3.9' networks: network1: - driver: bridge + # driver: bridge + name: test_network + external: true + + + services: @@ -87,6 +92,7 @@ services: - init-s3 networks: - network1 + # - network2 schema-manager: build: @@ -124,6 +130,7 @@ services: - nats networks: - network1 + # - network2 credential-manager: build: