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
 | 
			
		||||
    - container
 | 
			
		||||
  block:
 | 
			
		||||
    - import_tasks: steps/create-service-directory.yml
 | 
			
		||||
    - import_tasks: steps/template-docker-compose.yml
 | 
			
		||||
    - import_tasks: steps/template-service-env.yml
 | 
			
		||||
    - import_tasks: deploy-common-service.yml
 | 
			
		||||
    
 | 
			
		||||
    - name: Copy the run-once script
 | 
			
		||||
      ansible.builtin.copy:
 | 
			
		||||
        src: run-once.sh
 | 
			
		||||
        dest: "{{ (service_path, 'run-once.sh') | path_join }}"
 | 
			
		||||
        mode: '0755'
 | 
			
		||||
 | 
			
		||||
    - import_tasks: steps/start-service.yml
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3,3 +3,4 @@
 | 
			
		|||
    src: caddy_site.conf.j2
 | 
			
		||||
    dest: "{{ (caddy_config_path, svc.domain + '.conf') | path_join }}"
 | 
			
		||||
    mode: "0644"
 | 
			
		||||
  when: svc.domain is defined
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
FROM caddy:2-builder AS builder
 | 
			
		||||
 | 
			
		||||
RUN xcaddy build \
 | 
			
		||||
    --with github.com/caddy-dns/acmedns
 | 
			
		||||
    --with github.com/caddy-dns/acmedns@main
 | 
			
		||||
 | 
			
		||||
FROM caddy:2-alpine
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue