caddy-docker
laravel-websockets-example
Our great sponsors
caddy-docker | laravel-websockets-example | |
---|---|---|
30 | 5 | |
386 | 21 | |
2.8% | - | |
5.8 | 0.0 | |
about 1 month ago | over 3 years ago | |
Dockerfile | PHP | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
caddy-docker
-
Which reverse proxy for public and Lan sites with valid https?
The official Caddy documentation of their Docker image: https://hub.docker.com/_/caddy
-
Leaking Bitwarden's Vault with a Nginx vulnerability
I use https://static-web-server.net/
Cross-platform, written in Rust, straightforward configuration, secure defaults, also has a hardened container image and a hardened NixOS module.
I wouldn't recommend Caddy. Their official docker image runs as root unnecessarily (and the reasoning suggests a lack of understanding) [1], and they don't provide a properly sandboxed systemd unit file [2].
[1]: https://github.com/caddyserver/caddy-docker/issues/104
- Docker Cannot Mount Caddyfile on Remote Host
-
Which reverse proxy are you using?
There is also a short section about it on the Docker hub page under the "Adding custom Caddy modules" section: https://hub.docker.com/_/caddy
-
Caddy, Go, Docker and a Single Page App
Caddy uses a number of volumes. Two point directly at files within our project, first our Caddyfile, then our public folder which Caddy will serve live files. The other two are virtual filesystems Docker will create as defined by the master volumes parameters. We can assume the caddy_config volume is where active configuration is stored as it is not discussed on the Caddy Docker Official Image page, so we're copying their parameter exactly, but the caddy_data volume needs some extra discussion. It is used to store a number of things including SSL certificates. By default Docker creates and destroys volumes upon startup and exit. As we want to persist our certificate across sessions we can take advantage of an external Docker volume. These virtual filesystems are created before starting the Docker session for the first time. This can ve done from the command line or more easily from within the Docker Desktop app. Simply choose "Volumes", click the "Create" button and specify caddy_data.
- Caddy with Cloudflare plugin?
-
Having trouble creating volumes - any help? (Caddy 2 via portainer)
I've been able to create a network with no issues (that I know of yet) but when I try to create the volumes I run into trouble. This specific example is from Caddy2...
-
I’m new to docker how can I run my website
For a reverse proxy I would suggest Caddy. The configuration is super easy and it handles SSL for you out of the box using LetsEncrypt! There’s also an official docker image like PHP and MySQL here https://hub.docker.com/_/caddy
-
Can you people please suggest a suitable architecture for the following problem?
Their image is dead simple to use, the config is fine, and auto-https is baked in. You can use it as a sidecar, proxy for multiple images, or just as a base to add your app into, depending on the complexity of your existing config.
- The Power of the XDG Base Directory Specification (2019)
laravel-websockets-example
-
Bash functions are better than I thought
I do the same thing, but slightly differently. https://github.com/francislavoie/laravel-websockets-example/...
- Laravel Websockets + apache2 + docker
-
How to make a Python package in 2021
I rather just write a bash script. It's the lowest common denominator. Make may not be installed by default in many places and it has some weird syntax quirks that make it annoying to use IMO.
Here's an example of how I like to do my "bash scripts that sorta work like make": https://github.com/francislavoie/laravel-websockets-example/... basically each function is a "command", so I do like "./utils start" or whatever.
-
Sail for production?
This is an example repo I built a little while ago which outlines how I like to structure my Laravel projects for Docker: https://github.com/francislavoie/laravel-websockets-example
-
Creating Docker container for PHP scripts
I wrote up my own version of what a docker stack looks like as an example repo a few months ago, I wanted to give Laravel Sail a spin but I found that it really wasn't that good; no path to transitioning to running on prod with that setup, no easy local HTTPS support, etc. Here it is: https://github.com/francislavoie/laravel-websockets-example
What are some alternatives?
Nginx Proxy Manager - Docker container for managing Nginx proxy hosts with a simple, powerful interface
docker-images-php - A set of PHP Docker images
foundryvtt-docker - An easy-to-deploy Dockerized Foundry Virtual Tabletop server.
Caddy - Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
crowdsec - CrowdSec - the open-source and participative security solution offering crowdsourced protection against malicious IPs and access to the most advanced real-world CTI.
yew - Rust / Wasm framework for creating reliable and efficient web applications
cloudflare - Caddy module: dns.providers.cloudflare
vscode-python - Python extension for Visual Studio Code
docker-compose-shiny-example - Docker Compose Example with Shiny Apps
flit - Simplified packaging of Python modules
caddy-docker-proxy - Caddy as a reverse proxy for Docker
stripe-jobs-cli