@@ -8,6 +8,7 @@ x-common-variables: &common-variables
88 MONGO_RUNTIME_SCAN_URL : mongodb://mongodb:27017
99 MONGO_ASSET_SCAN_URL : mongodb://mongodb:27017
1010 MONGO_UNIQUES_SCAN_URL : mongodb://mongodb:27017
11+ MONGO_DB_KNOWN_HEIGHTS_URL : mongodb://mongodb:27017
1112 MONGO_BLOCK_SCAN_NAME : statescan-subsocial-block
1213 MONGO_ACCOUNT_SCAN_NAME : statescan-subsocial-account
1314 MONGO_RUNTIME_SCAN_NAME : statescan-subsocial-runtime
@@ -26,7 +27,7 @@ services:
2627 container_name : statescan-mongo
2728 restart : always
2829 ports :
29- - " 27100:27017"
30+ - " 127.0.0.1: 27100:27017"
3031 volumes :
3132 - ./mongo-data:/data/db
3233
@@ -42,6 +43,21 @@ services:
4243 << : *common-variables
4344 SCAN_STEP : 500
4445
46+ asset-scan :
47+ image : dappforce/statescan-subsocial:backend
48+ command : [ "node", "asset-scan/src/index.js" ]
49+ build :
50+ context : backend
51+ dockerfile : Dockerfile
52+ container_name : asset-scan
53+ restart : always
54+ environment :
55+ << : *common-variables
56+ USE_KNOWN_HEIGHTS : 0
57+ MONGO_DB_KNOWN_HEIGHTS_NAME : known-heights-statescan-subsocial-asset
58+ FOLLOW_BLOCK_SCAN : " true"
59+ SCAN_STEP : 500
60+
4561 block-scan :
4662 image : dappforce/statescan-subsocial:backend
4763 command : ["node", "block-scan/src/index.js"]
@@ -84,4 +100,4 @@ services:
84100 REACT_APP_PUBLIC_API_END_POINT : http://localhost:5010
85101 REACT_APP_PUBLIC_CHAIN : subsocial
86102 REACT_APP_DEFAULT_IPFS_GATEWAY : https://cloudflare-ipfs.com/ipfs/
87- REACT_APP_PUBLIC_SIMPLE_MODE : true
103+ REACT_APP_PUBLIC_SIMPLE_MODE : " true"
0 commit comments