This repository has been archived by the owner on Jan 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
77 lines (74 loc) · 2.4 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
version: "3.5"
services:
mongo:
image: mongo
container_name: mongodb
environment:
- PUID=1000
- PGID=1000
volumes:
- ./mongodb/database:/data/db
ports:
- 27017:27017
restart: unless-stopped
ipfs:
image: ghcr.io/linuxserver/ipfs
container_name: ipfs
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Berlin
volumes:
- ./ipfs:/config
ports:
# - 80:80 # webui
- 4001:4001 # p2p network port
- 127.0.0.1:5001:5001 # api port
# - 8080:8080 # gateway port
restart: unless-stopped
depends_on:
- trotter
trotter:
build:
context: .
dockerfile: Dockerfile
container_name: trotter
environment:
- MONGODB_URL="mongodb://mongo/trotternfts?readPreference=primary&appname=MongoDB%20Compass&ssl=false"
- MNEMONIC=input engage salon smooth choose buffalo priority february advice crop visit stand
- TROTTER_NODE_ENV=develop
## rate limiting / timeout
- LIMIT=10
- TTL=60
## Auth
### Trotter will not take auth into consideration unless TROTTER_MODE is set to "prod"
- ADMIN_USERNAME="admin"
- ADMIN_PASSWORD="PeHonWat="
## Supported networks
- API_MATIC_TESTNET=https://rpc-mumbai.maticvigil.com/
- API_MATIC_MAINNET=https://rpc-mainnet.maticvigil.com/
- API_ETH_TESTNET=https://rinkeby.infura.io/v3/eb2a4aeb4d414af48b46709684b5d1dd
- API_ETH_MAINNET=https://mainnet.infura.io/v3/eb2a4aeb4d414af48b46709684b5d1dd
- API_BSC_TESTNET=https://data-seed-prebsc-1-s2.binance.org:8545
- API_BSC_MAINNET=https://bsc-dataseed.binance.org
- API_DEFAULT_NETWORK=API_ETH_TESTNET
## Contract addresses
- NFT_CONTRACT_MATIC_MAINNET=0xE5C794E2BBFb0f1FB4370982E00817582A250657
- NFT_CONTRACT_ETH_MAINNET=
- NFT_CONTRACT_BSC_MAINNET=0x2C8daCb2704a5c347023b154d858B55C7808C7CA
- NFT_CONTRACT_MATIC_TESTNET=0x16c77B1A1e90Ae1111c378Ed41361086510E146d
- NFT_CONTRACT_ETH_TESTNET=0xC21fCdd14D700f126a2e78984E688fdb53D4e68a
- NFT_CONTRACT_BSC_TESTNET=0x74236C5Df5bBd35DB6131FdB45CCDDB1f87138a2
## Ipfs config
- IPFS_PINN=false
- IPFS_HOST=ipfs.infura.io
- IPFS_PORT=5001
- IPFS_PROTOCOL=https
- PINATA_PINNING=false
- PINATA_API_KEY=
- PINATA_SECRET_KEY=
ports:
- 3000:3000
depends_on:
- mongo
restart: unless-stopped