compose_file_main:
services:
app:
image: "{{ compose.image }}"
restart: always
labels:
com.centurylinklabs.watchtower.enable: "{{ compose.watchtower | default(false) }}"
networks:
local-net:
apps:
aliases:
- "{{ svc.name }}"
external: true
compose_file_env:
env_file:
- service.env
compose_file_user:
user: "{{ compose.user }}"
compose_file_ports:
ports: "{{ compose.ports }}"
compose_file_volumes:
volumes: "{{ compose.volumes }}"