Tobias Reisinger
4104057771
roles/ and inventory/ are now in playbooks/ also fixed issues reported by ansible-lint
37 lines
674 B
YAML
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
|