Advertisement
Guest User

Caddy Docker Compose (SDub)

a guest
Jan 12th, 2025
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | Software | 0 0
  1. # CADDY
  2. services:
  3. caddy:
  4. image: lucaslorentz/caddy-docker-proxy:2.8.4-alpine
  5. restart: unless-stopped
  6. ports:
  7. - "80:80"
  8. - "443:443"
  9. - "443:443/udp"
  10. environment:
  11. - CADDY_INGRESS_NETWORKS=caddy
  12. networks:
  13. - caddy
  14. - nextcloud-aio
  15. volumes:
  16. - /var/run/docker.sock:/var/run/docker.sock
  17. - ./Caddyfile:/etc/caddy/Caddyfile
  18. #- ./site:/srv
  19. - caddy_data:/data
  20. - caddy_config:/config
  21.  
  22. networks:
  23. caddy:
  24. external: true
  25. nextcloud-aio:
  26. external: true
  27.  
  28. volumes:
  29. caddy_data:
  30. caddy_config:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement