Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,11 @@ The service supports the following environment variables:

Redis cache timeout.

#### Docker image
- `IMAGE_TAG` *(default: latest)*

Docker image tag for `toncenter/ton-http-api`. Leave as `latest` to always pull the most recent image, or pin to a specific version (e.g. `v2.0.65`) for reproducible deployments.


## FAQ
#### How to point the service to my own lite server?
Expand Down
3 changes: 2 additions & 1 deletion configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
'TON_API_TONLIB_PARALLEL_REQUESTS_PER_LITESERVER': '50',
'TON_API_TONLIB_CDLL_PATH': '',
'TON_API_TONLIB_REQUEST_TIMEOUT': '10',
'TON_API_GUNICORN_FLAGS': ''
'TON_API_GUNICORN_FLAGS': '',
'IMAGE_TAG': 'latest'
}


Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: '3.7'
version: "3.7"
services:
main:
image: toncenter/ton-http-api
build:
image: toncenter/ton-http-api:${IMAGE_TAG:-latest}
build:
context: ton-http-api
dockerfile: .docker/Dockerfile
ports:
Expand Down