This commit is contained in:
parent
b1f334cb01
commit
6821e6f78d
@ -14,7 +14,7 @@ pin = os.environ['PIN']
|
|||||||
|
|
||||||
PIN_ENTER_TEMPLATE = '''<request>
|
PIN_ENTER_TEMPLATE = '''<request>
|
||||||
<OperateType>0</OperateType>
|
<OperateType>0</OperateType>
|
||||||
<CurrentPin>''' + PIN + '''</CurrentPin>
|
<CurrentPin>''' + pin + '''</CurrentPin>
|
||||||
<NewPin></NewPin>
|
<NewPin></NewPin>
|
||||||
<PukCode></PukCode>
|
<PukCode></PukCode>
|
||||||
</request>'''
|
</request>'''
|
||||||
|
|||||||
@ -6,6 +6,7 @@ services:
|
|||||||
container_name: "huawei-3g-sms-api"
|
container_name: "huawei-3g-sms-api"
|
||||||
restart: "unless-stopped"
|
restart: "unless-stopped"
|
||||||
mem_limit: "256m"
|
mem_limit: "256m"
|
||||||
|
# Warning: may not work on ARM (ie: odroid n2)
|
||||||
cpus: 0.3
|
cpus: 0.3
|
||||||
cpu_shares: 1024
|
cpu_shares: 1024
|
||||||
pids_limit: 200
|
pids_limit: 200
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user