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/files

View file

@ -3,5 +3,4 @@ FROM ubuntu
ENV DEBIAN_FRONTEND=noninteractive
RUN apt update -y \
&& apt install -y curl dnsutils msmtp gettext-base python3-pip python3-requests \
&& pip install matrix-nio
&& apt install -y curl dnsutils msmtp gettext-base python3-matrix-nio python3-requests

View file

@ -1,24 +0,0 @@
version: "3.7"
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"