Rename docker-compose.yml to compose.yaml and service.env to .env
This commit is contained in:
parent
7821b6b33b
commit
214723546a
20 changed files with 36 additions and 36 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue