Add more service databases to terraform

This commit is contained in:
Tobias Reisinger 2024-09-28 02:59:34 +02:00
parent 43baf205dc
commit ad2d3c6c06
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
9 changed files with 39 additions and 22 deletions
roles/healthcheck/templates

View file

@ -0,0 +1,22 @@
x-common-elements:
&common-elements
build:
context: .
image: "{{ (container_registry.public, 'services/healthcheck') | path_join }}"
restart: never
env_file:
- service.env
volumes:
- ./data/:/opt
network_mode: host
services:
http:
<<: *common-elements
command: "/opt/http"
matrix:
<<: *common-elements
command: "/opt/matrix"
mail:
<<: *common-elements
command: "/opt/mail"