add httpsms env vars

This commit is contained in:
Elizabeth Hunt 2025-01-02 23:34:46 -08:00
parent e4f968cec0
commit 463fa26b06
Signed by: simponic
GPG Key ID: 2909B9A7FF6213EE
3 changed files with 8 additions and 2 deletions

3
group_vars/phoneof.yml Normal file
View File

@ -0,0 +1,3 @@
from_phone_number: "{{ lookup('env', 'FROM_PHONE_NUMBER')}}"
to_phone_number: "{{ lookup('env', 'TO_PHONE_NUMBER')}}"
httpsms_api_token: "{{ lookup('env', 'HTTPSMS_API_TOKEN')}}"

View File

@ -9,7 +9,10 @@ services:
interval: 5s
timeout: 10s
retries: 5
env_file: .env
environment:
- FROM_PHONE_NUMBER={{ from_phone_number }}
- TO_PHONE_NUMBER={{ to_phone_number }}
- HTTPSMS_API_TOKEN={{ httpsms_api_token }}
volumes:
- ./db:/app/db
ports:

View File

@ -9,13 +9,13 @@
* {
box-sizing: border-box;
font-family: GeistMono;
}
html {
margin: 0;
padding: 0;
color: var(--text-color);
font-family: GeistMono;
}
body {