huawei-3G-SMS-API/docker-compose.yml

23 lines
523 B
YAML
Raw Normal View History

2019-08-06 11:24:49 -04:00
version: '2.3'
services:
2019-08-06 11:45:32 -04:00
app:
2019-08-06 11:24:49 -04:00
image: "jcabillot/huawei-3g-sms-api"
container_name: "huawei-3g-sms-api"
restart: "unless-stopped"
mem_limit: "256m"
2019-08-06 11:52:30 -04:00
# Warning: may not work on ARM (ie: odroid n2)
2019-08-06 11:24:49 -04:00
cpus: 0.3
cpu_shares: 1024
2023-02-21 14:22:54 -05:00
pids_limit: 10
2019-08-06 11:24:49 -04:00
volumes:
# To store plain text & json logs
- "./data:/app/data"
2023-02-21 14:29:45 -05:00
- "./ntfy-config-client.yml:/etc/ntfy/client.yml:ro"
2019-08-06 11:24:49 -04:00
environment:
- "PB_APIKEY"
- "PIN"
2019-08-06 11:56:33 -04:00
- "GW_IP"
2019-08-06 11:24:49 -04:00
security_opt:
- "no-new-privileges"