No Description https://git.hackware.cl/guix-lemp-container
|Felix Freeman b3ec694f56 Fix outrageous typo that broke query params on Nginx||7 months ago|
|etc||7 months ago|
|var||8 months ago|
|.gitignore||8 months ago|
|README.md||8 months ago|
|reset.sh||8 months ago|
|run.sh||8 months ago|
Currently only supports WordPress applications officially, but should work good with other frameworks, such as Laravel.
Notice I'm using non-POSIX
-i option on
sed, just to make code clearer,
since I know BusyBox' sed supports it, be mindful that it will break symlinks,
act on original files (/usr) when replacing within the guix environment.
run.sh <shared_path> <public_path>*
source /usr/etc/profileinside the container
public_path is a relative route within
run.sh $HOME/dev public
It will start Nginx on port
8000 and MariaDB on port
3306. You can interact
with MariaDB just by typing
mysql on the spawned console. Other executables
and BusyBox are available also.
You can stop the services with
stop inside the container.
You can clean your environment with
reset.sh, that will restore the original
state of this project, incluiding database wiping (but it will leave the
Just edit them :)
Notice that changes will be lost if you
To avoid this:
git checkout -b your-branch
When you run
reset.sh again your changes will remain intact (up to the state
of your commit).
A lot of the magic happens when you source the file on etc/profile.