Fix minor issues
This commit is contained in:
parent
94e04be183
commit
2d8c670110
3 changed files with 3 additions and 6 deletions
|
@ -4,14 +4,10 @@
|
||||||
- watchtower
|
- watchtower
|
||||||
- container
|
- container
|
||||||
block:
|
block:
|
||||||
- import_tasks: steps/create-service-directory.yml
|
- import_tasks: deploy-common-service.yml
|
||||||
- import_tasks: steps/template-docker-compose.yml
|
|
||||||
- import_tasks: steps/template-service-env.yml
|
|
||||||
|
|
||||||
- name: Copy the run-once script
|
- name: Copy the run-once script
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: run-once.sh
|
src: run-once.sh
|
||||||
dest: "{{ (service_path, 'run-once.sh') | path_join }}"
|
dest: "{{ (service_path, 'run-once.sh') | path_join }}"
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
|
|
||||||
- import_tasks: steps/start-service.yml
|
|
||||||
|
|
|
@ -3,3 +3,4 @@
|
||||||
src: caddy_site.conf.j2
|
src: caddy_site.conf.j2
|
||||||
dest: "{{ (caddy_config_path, svc.domain + '.conf') | path_join }}"
|
dest: "{{ (caddy_config_path, svc.domain + '.conf') | path_join }}"
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
|
when: svc.domain is defined
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
FROM caddy:2-builder AS builder
|
FROM caddy:2-builder AS builder
|
||||||
|
|
||||||
RUN xcaddy build \
|
RUN xcaddy build \
|
||||||
--with github.com/caddy-dns/acmedns
|
--with github.com/caddy-dns/acmedns@main
|
||||||
|
|
||||||
FROM caddy:2-alpine
|
FROM caddy:2-alpine
|
||||||
|
|
||||||
|
|
Reference in a new issue