diff options
author | Elizabeth Hunt <elizabeth@simponic.xyz> | 2025-01-13 21:24:32 -0800 |
---|---|---|
committer | Elizabeth Hunt <elizabeth@simponic.xyz> | 2025-01-13 21:24:32 -0800 |
commit | c0ab7feac52fc00e66417db22b25162130a4e6e3 (patch) | |
tree | 91b82c4070cdfd4f2dab4bbac16af0918b54f8af /roles/phoneassistant/templates/docker-compose.yml.j2 | |
parent | 040994898b109b3f344b37d1d449eb3b8f58ec53 (diff) | |
download | oldinfra-c0ab7feac52fc00e66417db22b25162130a4e6e3.tar.gz oldinfra-c0ab7feac52fc00e66417db22b25162130a4e6e3.zip |
fix create service script for infra and add phoneassistant role
Diffstat (limited to 'roles/phoneassistant/templates/docker-compose.yml.j2')
-rw-r--r-- | roles/phoneassistant/templates/docker-compose.yml.j2 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/roles/phoneassistant/templates/docker-compose.yml.j2 b/roles/phoneassistant/templates/docker-compose.yml.j2 new file mode 100644 index 0000000..38b6101 --- /dev/null +++ b/roles/phoneassistant/templates/docker-compose.yml.j2 @@ -0,0 +1,16 @@ +version: "3" + +services: + api: + restart: always + image: git.simponic.xyz/simponic/phoneassistant + healthcheck: + test: ["CMD", "wget", "--spider", "http://localhost:8080/api/health"] + interval: 5s + timeout: 10s + retries: 5 + env_file: .env + volumes: + - ./db:/app/db + ports: + - "127.0.0.1:9082:8080" |