infrastructure/playbooks/roles/healthcheck/templates/docker-compose.yml.j2
Tobias Reisinger 4104057771
Fix pre-commit hooks and move directories
roles/ and inventory/ are now in playbooks/
also fixed issues reported by ansible-lint
2024-10-14 18:31:36 +02:00

19 lines
372 B
Django/Jinja

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:
matrix:
<<: *common-elements
command: "/opt/matrix"
mail:
<<: *common-elements
command: "/opt/mail"