mirror of
				https://github.com/spantaleev/matrix-docker-ansible-deploy.git
				synced 2025-10-31 15:27:56 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
		
			580 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			580 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| # SPDX-FileCopyrightText: 2024 MDAD project contributors
 | |
| # SPDX-FileCopyrightText: 2024 Suguru Hirahara
 | |
| #
 | |
| # SPDX-License-Identifier: AGPL-3.0-or-later
 | |
| 
 | |
| ---
 | |
| version: "3.9"
 | |
| 
 | |
| services:
 | |
|   caddy:
 | |
|     image: caddy:2.5.1-alpine
 | |
|     networks:
 | |
|       # add this, so that caddy can talk to the playbook-managed-traefik
 | |
|       - traefik
 | |
|     ports:
 | |
|       - "80:80"
 | |
|       - "443:443"
 | |
|       - "8448:8448"
 | |
|     volumes:
 | |
|       - ./Caddyfile:/etc/caddy/Caddyfile
 | |
|       # - ./site:/var/www
 | |
|     # Other configurations …
 | |
| 
 | |
| networks:
 | |
|   # add this as well
 | |
|   traefik:
 | |
|     name: traefik
 | |
|     external: true
 |