Tobias Reisinger
05e79ae90a
Remove remote_docker backups Add option to monitor with watchtower Add teamspeak ports to firewall
38 lines
790 B
YAML
38 lines
790 B
YAML
compose_file_main:
|
|
services:
|
|
app:
|
|
image: "{{ compose.image }}"
|
|
restart: always
|
|
labels:
|
|
com.centurylinklabs.watchtower.enable: "{{ compose.watchtower | default('') == 'update' }}"
|
|
com.centurylinklabs.watchtower.monitor-only: "{{ compose.watchtower | default('') == 'monitor' }}"
|
|
|
|
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
|