-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
41 lines (36 loc) · 1012 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
version: '3.5'
services:
claim_mongo:
container_name: thx_claim_mongo
image: mongo
env_file: .env.example
restart: always
ports:
- 27020:27017
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: root
MONGO_INITDB_DATABASE: admin
volumes:
- claim-mongo-data:/data/db
- ./scripts/mongo-init.sh:/docker-entrypoint-initdb.d/mongo-init.sh
networks:
- claim_api
claim_testnet:
container_name: thx_claim_testnet
image: public.ecr.aws/o5j5y3t5/hardhat-thx-artifacts:3.1.5
networks:
- claim_api
ports:
- '8549:8545'
claim_mainnet:
container_name: thx_claim_mainnet
image: public.ecr.aws/o5j5y3t5/hardhat-thx-artifacts:3.1.5
networks:
- claim_api
ports:
- '8548:8545'
volumes:
claim-mongo-data:
networks:
claim_api: