Rename docker-compose.yml to compose.yaml and service.env to .env

This commit is contained in:
Tobias Reisinger 2025-06-17 19:14:28 +02:00
parent 7821b6b33b
commit 214723546a
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
20 changed files with 36 additions and 36 deletions

View file

@ -1,8 +1,8 @@
---
- name: Template the docker-compose file
- name: Template the compose file
ansible.builtin.template:
src: docker-compose.yml.j2
dest: "{{ (service_path, 'docker-compose.yml') | path_join }}"
src: compose.yaml.j2
dest: "{{ (service_path, 'compose.yaml') | path_join }}"
mode: "0644"
- name: Copy the Dockerfile
ansible.builtin.copy:

View file

@ -15,7 +15,7 @@
- name: Import tasks specific to systemd
ansible.builtin.import_tasks: systemd.yml
- name: Import tasks create a service.env file
- name: Import tasks create a .env file
ansible.builtin.import_tasks: tasks/steps/template-service-env.yml
- name: Build service

View file

@ -5,7 +5,7 @@ x-common-elements:
image: "{{ (container_registry.public, 'services/healthcheck') | path_join }}"
restart: never
env_file:
- service.env
- .env
volumes:
- ./data/:/opt
network_mode: host