diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2025-01-02 23:34:46 -0800 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2025-01-02 23:34:46 -0800 |
commit | 463fa26b06f166fab5412b2ccaae7f75f6ab878e (patch) | |
tree | dc7096ce104d86f5beed68d5e59d00e8773c025c | |
parent | e4f968cec07f2e881e7ef5966a5bf56735a96ee8 (diff) | |
download | oldinfra-463fa26b06f166fab5412b2ccaae7f75f6ab878e.tar.gz oldinfra-463fa26b06f166fab5412b2ccaae7f75f6ab878e.zip |
add httpsms env vars
-rw-r--r-- | group_vars/phoneof.yml | 3 | ||||
-rw-r--r-- | roles/phoneof/templates/docker-compose.yml.j2 | 5 | ||||
-rw-r--r-- | template/static/css/styles.css | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/group_vars/phoneof.yml b/group_vars/phoneof.yml new file mode 100644 index 0000000..86349ea --- /dev/null +++ b/group_vars/phoneof.yml @@ -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')}}" diff --git a/roles/phoneof/templates/docker-compose.yml.j2 b/roles/phoneof/templates/docker-compose.yml.j2 index 0bd6f07..ee0a52b 100644 --- a/roles/phoneof/templates/docker-compose.yml.j2 +++ b/roles/phoneof/templates/docker-compose.yml.j2 @@ -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: diff --git a/template/static/css/styles.css b/template/static/css/styles.css index c025c3e..42acdac 100644 --- a/template/static/css/styles.css +++ b/template/static/css/styles.css @@ -9,13 +9,13 @@ * { box-sizing: border-box; + font-family: GeistMono; } html { margin: 0; padding: 0; color: var(--text-color); - font-family: GeistMono; } body { |