Add more service databases to terraform
This commit is contained in:
parent
43baf205dc
commit
ad2d3c6c06
9 changed files with 39 additions and 22 deletions
roles/healthcheck/templates
22
roles/healthcheck/templates/docker-compose.yml.j2
Normal file
22
roles/healthcheck/templates/docker-compose.yml.j2
Normal file
|
@ -0,0 +1,22 @@
|
|||
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:
|
||||
http:
|
||||
<<: *common-elements
|
||||
command: "/opt/http"
|
||||
matrix:
|
||||
<<: *common-elements
|
||||
command: "/opt/matrix"
|
||||
mail:
|
||||
<<: *common-elements
|
||||
command: "/opt/mail"
|
Loading…
Add table
Add a link
Reference in a new issue