This image allows you to run a proxy server to the Transfer-To Airtime service using the T2-Airtime gem.
Docker CE installed on your local or development machine.
- Make sure you are a registered user of Transfer-To.
- Enable Two Factor Authentication (2FA) in your Transfer-To Shop Security Center section
- Retrieve API key (token) created by Transfer-To Shop.
- Export your secrets as an environment variables:
export T2_SHOP_USER=<your_username>
export T2_AIRTIME_KEY=<your_token>
- Export the host allowed to access the API (CORS):
export CORS_ORIGIN=<your_frontend_address>
- Run:
docker run -d \
--name t2_airtime \
-p 3000:3000 \
-e T2_SHOP_USER \
-e T2_AIRTIME_KEY \
-e CORS_ORIGIN \
voxbox/t2_airtime
docker logs t2_airtime -f
The container is available as open source under the terms of the MIT License.