infrastructure/roles/healthcheck/files/docker-compose.yml

25 lines
446 B
YAML
Raw Normal View History

2024-09-26 22:02:36 +00:00
version: "3.7"
x-common-elements:
&common-elements
build:
context: .
2024-09-27 20:56:49 +00:00
image: "{{ (container_registry.public, 'services/healthcheck') | path_join }}"
2024-09-26 22:02:36 +00:00
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"