s6-overlay
docker-php-nginx
s6-overlay | docker-php-nginx | |
---|---|---|
30 | 6 | |
3,763 | 1,381 | |
1.2% | - | |
4.4 | 5.4 | |
25 days ago | 2 months ago | |
Shell | Dockerfile | |
GNU General Public License v3.0 or later | 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.
s6-overlay
- S6 Overlay for Containers
-
S6 – skarnet's small supervision suite
This one looks pretty well thought out: https://github.com/just-containers/s6-overlay
There's a huge community https://www.linuxserver.io/ for people building "home server" containers that all use the s6-overlay. So they have a lot of tutorials and a very busy Discord, Reddit, etc with all levels of experience from container developers to people who don't program and are just getting into Docker.
-
Show HN: I am building an open-source Confluence and Notion alternative
This has worked pretty well for me both for service control and pre-execution environment setup
https://github.com/just-containers/s6-overlay
- S6-overlay: one *thing* per Docker container
-
Backup Grafana SQLite with Litestream using s6-overlay in a container app
FROM docker.io/grafana/grafana-oss:9.5.12-ubuntu # Set USER to root escalating priviliges to perform installation of litestream and s6-overlay USER root RUN apt-get -qq update && \ apt-get -qq install -y xz-utils \ && rm -rf /var/libs/apt/lists/* # https://github.com/benbjohnson/litestream-s6-example/blob/main/Dockerfile # Download the static build of Litestream directly into the path & make it executable. ADD https://github.com/benbjohnson/litestream/releases/download/v0.3.11/litestream-v0.3.11-linux-amd64.tar.gz /tmp/litestream.tar.gz RUN tar -C / -xvzf /tmp/litestream.tar.gz ARG S6_OVERLAY_VERSION="3.1.5.0" # Download the s6-overlay for process supervision. ADD https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz /tmp RUN tar -C / -Jxpf /tmp/s6-overlay-noarch.tar.xz ADD https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-x86_64.tar.xz /tmp RUN tar -C / -Jxpf /tmp/s6-overlay-x86_64.tar.xz # Copy s6 init & service definitions. COPY etc/s6-overlay /etc/s6-overlay # Copy Litestream configuration file. COPY etc/litestream.yml /etc/litestream.yml # The kill grace time is set to zero because our app handles shutdown through SIGTERM. ENV S6_KILL_GRACETIME=0 # Sync disks is enabled so that data is properly flushed. ENV S6_SYNC_DISKS=1 # Reset USER to 472 to reset the escalated privileges USER 472 # # Run the s6 init process on entry. ENTRYPOINT [ "/init" ]
-
Letme Dockerize for you | share your projects
Learn S6-Overlay that allows to have one docker container for multiple processes... make immich docker compose not a two page 8 containers long? But just one clean container with healthcheck. Convince the devs to switch to it.
-
Code-server : Awesome VS Code container on browser (Useful for Fast Cloud Deploy - Fix Corporate Issues)
Custom base docker image with S6 overlay (for more details : just-containers/s6-overlay)
-
xinetd/inetd/systemd socket services in Docker?
https://github.com/just-containers/s6-overlay can do what you need.
-
Alpine Linux is reducing dependencies on Busybox
Used s6-overlay[1] to start a lot daemons in a docker-image for demo purposes - postgres, tomcat, mysql, php-fpm, apache (don't ask why ;) - s6 worked really well and was reliable and stable - I enjoyed it very much. It was also possible to reliable pass SIGTERM to the daemons in the image for clean shutdown and it was easily possible to configure logging to stdout with a prefix. Modelling dependencies (waiting on database before starting app etc.pp) is possible via shell-scripts. It's super flexible but out of the box it's more like a collection of powerful tools not a complete package - but that's good. It's in the tradition of djb daemontools and is very unix - as in doesn't talk a lot and you better know how each part works but - and that's really cool - it's modular and simple and once you get a grip on it you can easily reason about it. systemd takes a completely different approach and also solves a kind of differnt problem - this is like small pieces of lego that compose well instead of one big chunk of glib/dbus/glibc only c-code.
1: https://github.com/just-containers/s6-overlay
-
Do Docker Containers go thru a Boot Process
Every container has some entrypoint, whether it launches a single binary, runs a "process supervisor" like s6, or does some pre-setup before running a service, like a database.
docker-php-nginx
- Laravel API + Nuxt SPA + Forge
-
PHP in docker together with VS-code
You can't compare that... your image is just another fpm/nginx combo ... plenty of these around
-
I am new to xampp and cannot seem to get my code to display on the browser. I am using a pc and I type in the URL localhost/xampp/htdocs/index.php and I get error 404, and other great things like the code below when I use phpstorm and click on the chrome icon. What do I need to do to make this work?
simple light weight
-
As of 2021, what are the best practices deploying a Apache/PHP/Postgres project with Docker?
It's a question of ressource allocation / scalability desires vs ease of deployment... php ships an apache image ready to go docker pull php:apache. Personally I would prefer using a php-fpm/nginx hybrid for performance ... something like this
-
[Request For Testing] Calibre / Ubooquity alternative
I have a dull day at work, so i'm going to play around with trying to get it running based on (this)[https://hub.docker.com/r/trafex/php-nginx] image.
-
Production-ready Laravel Docker Setup
I think I found a decent starting point: https://github.com/TrafeX/docker-php-nginx
What are some alternatives?
docker-restic-cron - Automated Restic backups from Docker
nginx-rtmp-docker - Docker image with Nginx using the nginx-rtmp-module module for live multimedia (video) streaming.
laravel-docker-production
docker-fail2ban - Fail2ban Docker image
docker
tinypilot - Use your Raspberry Pi as a browser-based KVM.
LibreNMS-docker - LibreNMS Docker image
k3s - Lightweight Kubernetes
CapRover - Scalable PaaS (automated Docker+nginx) - aka Heroku on Steroids
flyctl - Command line tools for fly.io services
ext-pmmpthread - Fork of https://github.com/krakjoe/pthreads with a revamped API and PHP 8.1+ support