This will guide you through setting up a replica set in a docker environment using.
- Docker Compose
- MongoDB Replica Sets
- Mongoose
- Mongoose Transactions
Thanks to https://gist.github.com/asoorm for helping with their docker-compose file!
| Below is a **Coffee Recipe Collection** written in **Markdown format**. It’s structured like a mini **barista recipe handbook** so it can easily be used in documentation, GitHub, Notion, or a menu system. | |
| --- | |
| # ☕ Coffee Recipe Handbook | |
| A collection of classic coffee recipes commonly used in coffee shops. | |
| --- |
| { | |
| "openapi": "3.0.1", | |
| "info": { "title": "AIS-Roaming", "description": "", "version": "1.0.0" }, | |
| "tags": [ | |
| { "name": "File" }, | |
| { "name": "CronJob" }, | |
| { "name": "Format" }, | |
| { "name": "Log" }, | |
| { "name": "Packages" }, | |
| { "name": "User" } |
| pragma solidity =0.6.6; | |
| library SafeMath { | |
| /** | |
| * @dev Returns the addition of two unsigned integers, with an overflow flag. | |
| * | |
| * _Available since v3.4._ | |
| */ | |
| function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { | |
| uint256 c = a + b; |
| // SPDX-License-Identifier: MIT | |
| pragma solidity ^0.6.0; | |
| import { CBORChainlink } from "./vendor/CBORChainlink.sol"; | |
| import { BufferChainlink } from "./vendor/BufferChainlink.sol"; | |
| /** | |
| * @title Library for common Chainlink functions | |
| * @dev Uses imported CBOR library for encoding to buffer | |
| */ |
| // File: https://raw.githubusercontent.com/smartcontractkit/chainlink/master/evm-contracts/src/v0.6/vendor/ENSResolver.sol | |
| // SPDX-License-Identifier: MIT | |
| pragma solidity ^0.6.0; | |
| abstract contract ENSResolver { | |
| function addr(bytes32 node) public view virtual returns (address); | |
| } |
This will guide you through setting up a replica set in a docker environment using.
Thanks to https://gist.github.com/asoorm for helping with their docker-compose file!