Skip to content

Commit

Permalink
chore: update port
Browse files Browse the repository at this point in the history
  • Loading branch information
martiliones committed Mar 7, 2024
1 parent 357cf33 commit e6963ed
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ COPY . .

RUN pnpm run build

EXPOSE 36668
EXPOSE 36661

CMD ["node", "dist/main"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,6 @@ Add string:
## Usage

To test Currencyinfo successfully installed, try to open link
http://IP:36668/get?coin=ADM in a web browser.
http://IP:36661/get?coin=ADM in a web browser.

For usage see [InfoServices API documentation](https://github.com/Adamant-im/currencyinfo/wiki/InfoServices-API-documentation).
12 changes: 6 additions & 6 deletions config.default.jsonc
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
{
"decimals": 12,
"rateDifferencePercentThreshold": 25,
"port": 36668,
"port": 36661,
"refreshInterval": 10,
"minSources": 1,
"notify": {
"slack": ["https://hooks.slack.com/services/T192381293/B19283/XXXXX"]
"slack": ["https://hooks.slack.com/services/T192381293/B19283/XXXXX"],
},
"log_level": "log",
"coinmarketcap": {
"api_key": "hello_world",
"coins": ["BTC", "ETH"],
"ids": {
"BTC": 102
}
"BTC": 102,
},
},
"base_coins": ["USD", "RUB", "EUR", "CNY", "JPY", "BTC", "ETH", "KRW"],
"moex": {
"USD/RUB": "USDRUB_TOM",
"EUR/RUB": "EURRUB_TOM",
"GBR/RUB": "GBPRUB_TOM",
"CNY/RUB": "CNYRUB_TOM",
"JPY/RUB": "JPYRUB_TOM"
}
"JPY/RUB": "JPYRUB_TOM",
},
}
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:
container_name: currencyinfo
build: .
ports:
- '36668:36668'
- '36661:36661'
depends_on:
- redis
networks:
Expand Down

0 comments on commit e6963ed

Please sign in to comment.