Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

22 lines
424 B

  1. version: "3.9"
  2. services:
  3. caddy:
  4. image: caddy:2.5.1-alpine
  5. networks:
  6. # add this, so that caddy can talk to the playbook-managed-traefik
  7. - traefik
  8. ports:
  9. - "80:80"
  10. - "443:443"
  11. - "8448:8448"
  12. volumes:
  13. - ./Caddyfile:/etc/caddy/Caddyfile
  14. # - ./site:/var/www
  15. # Other configurations ...
  16. networks:
  17. # add this as well
  18. traefik:
  19. name: traefik
  20. external: true