Sign inSign up

lsposed/usdt-pay

By lsposed

•Updated about 1 year ago

Payment solution for TRX, USDT-TRC20, and ETH tokens with dynamic/static payee addresses.

Image
Web servers
0

1.3K

lsposed/usdt-pay repository overview

⁠tokenPay

version: '3.8'
# USDT支付-tokenpay
services:
  tokenpay:
    image: lsposed/usdt-pay:LightCountry-TokenPay_vXXX  # 使用指定的镜像
    container_name: tokenpay  # 容器名称为 tokenpay
    networks:
      - mynetworks1  # 加入已存在的网络 mynetworks1
      - mynetworks2  # 加入已存在的网络 mynetworks2
    volumes:
      - ./appsettings.json:/home/appsettings.json  # 映射本地文件到容器内
      - ./wwwroot:/home/wwwroot
      - ./Views:/home/Views
      - ./TokenPay.db:/home/TokenPay.db
    logging:
      driver: json-file  # 使用 json-file 日志驱动
      options:
        max-size: 10M  # 限制日志大小为 10M
    deploy:
      resources:
        limits:
          cpus: '0.2'  # 限制 CPU 使用率为 0.2
          memory: 250M
    restart: always  # 总是重启容器
    command: sh -c "/start.sh && tail -f /dev/null"  # 执行原有启动脚本并保持运行
    # 注意:将 YOUR_ORIGINAL_START_SCRIPT.sh 替换为容器内实际的启动脚本

networks:
  mynetworks1:
    external: true  # 表示 mynetworks1 是已存在的网络
  mynetworks2:
    external: true  # 表示 mynetworks2 是已存在的网络

Tag summary

Content type

Image

Digest

sha256:b9b8cfb77…

Size

116.8 MB

Last updated

about 1 year ago

docker pull lsposed/usdt-pay