29 lines
439 B
YAML
29 lines
439 B
YAML
version: "3.7"
|
|
|
|
x-common-elements:
|
|
&common-elements
|
|
build:
|
|
context: .
|
|
image: healthcheck
|
|
restart: never
|
|
env_file:
|
|
- .env
|
|
- .secret.env
|
|
volumes:
|
|
- ./data/:/opt
|
|
|
|
services:
|
|
http:
|
|
<<: *common-elements
|
|
command: "/opt/http"
|
|
matrix:
|
|
<<: *common-elements
|
|
command: "/opt/matrix"
|
|
mail:
|
|
<<: *common-elements
|
|
command: "/opt/mail"
|
|
|
|
networks:
|
|
default:
|
|
name: healthcheck
|
|
external: true
|