Skip to content
Draft
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
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ API_VERSION=2.0.31
API_NETWORK=testnet
API_MODE=onetoone
API_CONF_VOLUME=${PWD}/config/api-config
API_PORT=8081

API_CACHE_ENABLED=0
API_LOGS_JSONIFY=0
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ services:
TON_API_GET_METHODS_ENABLED: ${API_GET_METHODS_ENABLED}
TON_API_JSON_RPC_ENABLED: ${API_JSON_RPC_ENABLED}
TON_API_ROOT_PATH: ${API_ROOT_PATH}
command: -c "gunicorn -k uvicorn.workers.UvicornWorker -w 1 --bind 0.0.0.0:8081 pyTON.main:app"
command: -c "gunicorn -k uvicorn.workers.UvicornWorker -w 1 --bind 0.0.0.0:${API_PORT} pyTON.main:app"
networks:
ton-network:
ipv4_address: 172.18.0.3
Expand All @@ -59,4 +59,4 @@ networks:
driver: bridge
ipam:
config:
- subnet: 172.18.0.0/24
- subnet: 172.18.0.0/24