-
-
Save CCH0124/af0ef5406cf278ea434852dfaf487cac to your computer and use it in GitHub Desktop.
Revisions
-
gbzarelli revised this gist
Mar 28, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ db = db.getSiblingDB('sample_db'); db.createCollection('sample_collection'); db.sample_collection.insertMany([ { org: 'helpdev', filter: 'EVENT_A', -
gbzarelli renamed this gist
Mar 28, 2021 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
gbzarelli created this gist
Mar 28, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,30 @@ version: '3.8' services: # Database - Mongo DB mongo: image: mongo environment: MONGO_INITDB_ROOT_USERNAME: helpdev MONGO_INITDB_ROOT_PASSWORD: 123456 ports: - "27017:27017" volumes: - ./docker-entrypoint-initdb.d/mongo-init.js:/docker-entrypoint-initdb.d/mongo-init.js:ro # Database Manager mongo-express: image: mongo-express ports: - 8099:8081 depends_on: - mongo environment: ME_CONFIG_BASICAUTH_USERNAME: express ME_CONFIG_BASICAUTH_PASSWORD: 123456 ME_CONFIG_MONGODB_PORT: 27017 ME_CONFIG_MONGODB_ADMINUSERNAME: helpdev ME_CONFIG_MONGODB_ADMINPASSWORD: 123456 links: - mongo This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ db = db.getSiblingDB('sample_db'); db.createCollection('sample_collection'); db.wh_filters.insertMany([ { org: 'helpdev', filter: 'EVENT_A', addrs: 'http://rest_client_1:8080/wh' }, { org: 'helpdev', filter: 'EVENT_B', addrs: 'http://rest_client_2:8081/wh' }, { org: 'github', filter: 'EVENT_C', addrs: 'http://rest_client_3:8082/wh' } ]);