ntfywip
Some checks failed
perso/huawei-3G-SMS-API/pipeline/head There was a failure building this commit
Some checks failed
perso/huawei-3G-SMS-API/pipeline/head There was a failure building this commit
This commit is contained in:
parent
c72820e561
commit
9e2da2d30c
@ -8,10 +8,11 @@ WORKDIR "/app"
|
|||||||
|
|
||||||
# ntfy est pas encore dispo en dehors de testing sur alpine actuellement
|
# ntfy est pas encore dispo en dehors de testing sur alpine actuellement
|
||||||
RUN pip install --no-cache-dir --requirement requirements.txt && \
|
RUN pip install --no-cache-dir --requirement requirements.txt && \
|
||||||
wget https://github.com/binwiederhier/ntfy/releases/download/v2.0.1/ntfy_2.0.1_linux_x86_64.tar.gz && \
|
wget https://github.com/binwiederhier/ntfy/releases/download/v2.0.1/ntfy_2.0.1_linux_armv7.tar.gz && \
|
||||||
tar zxvf ntfy_2.0.1_linux_x86_64.tar.gz && \
|
tar zxvf ntfy_2.0.1_linux_armv7.tar.gz && \
|
||||||
cp -a ntfy_2.0.1_linux_x86_64/ntfy ~/.local/bin && \
|
cp -a ntfy_2.0.1_linux_armv7/ntfy /usr/local/bin && \
|
||||||
mkdir ~/.config/ntfy && \
|
mkdir /etc/ntfy && \
|
||||||
|
rm -rf ntfy_2.0.1* && \
|
||||||
ntfy --help
|
ntfy --help
|
||||||
|
|
||||||
#USER "nobody"
|
#USER "nobody"
|
||||||
|
|||||||
@ -13,6 +13,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
# To store plain text & json logs
|
# To store plain text & json logs
|
||||||
- "./data:/app/data"
|
- "./data:/app/data"
|
||||||
|
- "./ntfy-config-client.yml:/etc/ntfy/client.yml:ro"
|
||||||
environment:
|
environment:
|
||||||
- "PB_APIKEY"
|
- "PB_APIKEY"
|
||||||
- "PIN"
|
- "PIN"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user