From 8e42029d13cc6f6f9dac22cc5b7b122f17d791d5 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Thu, 2 Jan 2025 16:58:21 -0800 Subject: create a something service --- roles/something/templates/docker-compose.yml.j2 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 roles/something/templates/docker-compose.yml.j2 (limited to 'roles/something/templates/docker-compose.yml.j2') diff --git a/roles/something/templates/docker-compose.yml.j2 b/roles/something/templates/docker-compose.yml.j2 new file mode 100644 index 0000000..6704897 --- /dev/null +++ b/roles/something/templates/docker-compose.yml.j2 @@ -0,0 +1,16 @@ +version: "3" + +services: + api: + restart: always + image: git.simponic.xyz/simponic/something + 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:6363:8080" -- cgit v1.2.3-70-g09d2