infra/roles/phoneof/templates/docker-compose.yml.j2

20 lines
483 B
Plaintext
Raw Normal View History

version: "3"
services:
api:
restart: always
image: git.simponic.xyz/simponic/phoneof
healthcheck:
test: ["CMD", "wget", "--spider", "http://localhost:8080/api/health"]
interval: 5s
timeout: 10s
retries: 5
2025-01-02 23:34:46 -08:00
environment:
- FROM_PHONE_NUMBER={{ from_phone_number }}
- TO_PHONE_NUMBER={{ to_phone_number }}
- HTTPSMS_API_TOKEN={{ httpsms_api_token }}
volumes:
- ./db:/app/db
ports:
- "127.0.0.1:19191:8080"