38 lines
673 B
YAML
38 lines
673 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:
|
||
|
- "{{ svc.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
|