- Generate a ready-to-print envelope pdf and html
- The envelope has a traceable barcode
- Show status of your first class mail without certify!
MAILER_ID = <Your mailer id>
SRV_TYPE=40
BARCODE_ID=0
BSG_USERNAME= <Your USPS business account username>
BSG_PASSWD= <Your USPS business account password>
FLASK_SESSION_KEY= <Very secret flask key>
USPS_WEBAPI_USERNAME= <Your USPS webtool username>
Get a mailer ID here for free: Guide
ENV SCRIPT_NAME=/envelope
EXPOSE 8080
means your service will run under:
http://127.0.0.1:8080/envelope/
docker build -t envelope_image .
docker run -p 8083:8080 --name envelope_app -d --restart=always envelope_image