version: '2.3' services: app: image: "jcabillot/huawei-3g-sms-api@sha256:a76358b2ee123d6570b93802e1813e46b9a634065400bae38202c2ded29deb73" container_name: "huawei-3g-sms-api" restart: "unless-stopped" mem_limit: "256m" # Warning: may not work on ARM (ie: odroid n2) cpus: 0.3 cpu_shares: 1024 pids_limit: 10 volumes: # To store plain text & json logs - "./data:/app/data" - "./ntfy-config-client.yml:/etc/ntfy/client.yml:ro" environment: - "PB_APIKEY" - "PIN" - "GW_IP" security_opt: - "no-new-privileges"