This repository has been archived on 2024-11-01. You can view files and clone it, but cannot push or open issues or pull requests.
services/_ansible/inventory/group_vars/all/compose_defaults.yml

38 lines
671 B
YAML
Raw Normal View History

2023-06-16 11:15:45 +00:00
compose_file_main:
services:
app:
image: "{{ compose.image }}"
restart: always
labels:
com.centurylinklabs.watchtower.enable: "{{ compose.watchtower | default(false) }}"
networks:
2023-12-04 20:36:32 +00:00
local-net:
apps:
aliases:
2023-06-13 18:48:16 +00:00
- "{{ svc.name }}"
networks:
2023-12-04 20:36:32 +00:00
local-net:
apps:
external: true
2023-06-13 18:48:16 +00:00
2023-06-16 11:15:45 +00:00
compose_file_env:
2023-06-13 18:48:16 +00:00
services:
app:
env_file:
- service.env
2023-06-16 11:15:45 +00:00
2023-12-09 15:20:45 +00:00
compose_file_user:
services:
app:
user: "{{ compose.user }}"
2023-06-16 11:15:45 +00:00
compose_file_ports:
services:
app:
ports: "{{ compose.ports }}"
compose_file_volumes:
services:
app:
volumes: "{{ compose.volumes }}"