infrastructure/playbooks/inventory/group_vars/all/compose_defaults.yml
Tobias Reisinger 4104057771
Fix pre-commit hooks and move directories
roles/ and inventory/ are now in playbooks/
also fixed issues reported by ansible-lint
2024-10-14 18:31:36 +02:00

37 lines
674 B
YAML

compose_file_main:
services:
app:
image: "{{ compose.image }}"
restart: always
labels:
com.centurylinklabs.watchtower.enable: "{{ compose.watchtower | default(false) }}"
compose_file_env:
services:
app:
env_file:
- service.env
compose_file_networks:
services:
app:
networks:
default:
apps:
aliases:
- "{{ role_name }}"
networks:
default:
apps:
external: true
compose_file_volumes:
services:
app:
volumes: "{{ compose.volumes }}"
compose_file_monitoring_label:
services:
app:
labels:
com.influxdata.telegraf.enable: true