Fix pre-commit hooks and move directories
roles/ and inventory/ are now in playbooks/ also fixed issues reported by ansible-lint
This commit is contained in:
parent
dc398ddb6e
commit
4104057771
123 changed files with 91 additions and 39 deletions
playbooks/roles/healthcheck/templates
19
playbooks/roles/healthcheck/templates/docker-compose.yml.j2
Normal file
19
playbooks/roles/healthcheck/templates/docker-compose.yml.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:
|
||||
- service.env
|
||||
volumes:
|
||||
- ./data/:/opt
|
||||
network_mode: host
|
||||
|
||||
services:
|
||||
matrix:
|
||||
<<: *common-elements
|
||||
command: "/opt/matrix"
|
||||
mail:
|
||||
<<: *common-elements
|
||||
command: "/opt/mail"
|
|
@ -0,0 +1,5 @@
|
|||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/docker compose run --rm %i
|
||||
WorkingDirectory={{ service_path }}
|
||||
RuntimeMaxSec=300
|
Loading…
Add table
Add a link
Reference in a new issue