Rename docker-compose.yml to compose.yaml and service.env to .env
This commit is contained in:
parent
7821b6b33b
commit
214723546a
20 changed files with 36 additions and 36 deletions
19
playbooks/roles/healthcheck/templates/compose.yaml.j2
Normal file
19
playbooks/roles/healthcheck/templates/compose.yaml.j2
Normal file
|
@ -0,0 +1,19 @@
|
|||
x-common-elements:
|
||||
&common-elements
|
||||
build:
|
||||
context: .
|
||||
image: "{{ (container_registry.public, 'services/healthcheck') | path_join }}"
|
||||
restart: never
|
||||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
- ./data/:/opt
|
||||
network_mode: host
|
||||
|
||||
services:
|
||||
matrix:
|
||||
<<: *common-elements
|
||||
command: "/opt/matrix"
|
||||
mail:
|
||||
<<: *common-elements
|
||||
command: "/opt/mail"
|
Loading…
Add table
Add a link
Reference in a new issue