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

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,7 +1,7 @@
---
- name: Copy the docker-compose file
ansible.builtin.copy:
src: docker-compose.yml
- name: Template the docker-compose file
ansible.builtin.template:
src: docker-compose.yml.j2
dest: "{{ (service_path, 'docker-compose.yml') | path_join }}"
mode: "0644"
- name: Copy the Dockerfile

View file

@ -1,5 +1,3 @@
version: "3.7"
x-common-elements:
&common-elements
build: