📜 README
Epiphyte is a tiny container for running local development environments in a containerised workflow.
The idea is that each project has it's own compose.yml and maybe also a Dockerfile. It uses Chainguards small alpine-like distro as a secure base, then PHP and NodeJS are added, along with a few utilities.
Source Code: https://github.com/hozza/epiphyte
The container can be customized per-project as needed and no local (container host) environments need to be reconfigured each time that you need to switch projects.
Instructions
Once you've added the twp files. Epiphyte can be run by opening a terminal in the project directory and running:
podman-compose up -d
Note: You can also use Docker. And, if you're running a newer engine than the engine distributed in the Deb12 repositories, you remove the "-" before "compose".
Then jump into the containers shell using:
podman exec -it CONTAINER_NAME bash
Replacing "CONTAINER_NAME" with the auto-generated name which usually starts with the parent directories name.
Start typing the project name, and hit the Tab key on your keyboard to auto-complete the correct container name.
Once you're in the container's shell, you can run whatever your project needs like npm start or php -S 0.0.0.0:8080 etc.
