PRE-ALPHA SOFTWARE
Under active development. Not ready for use.
A docker compose file to build 3 containers:
- Caddy Server
- PHP
- MariaDB
SSH
access to server withsudo
privilegesgit
nano
(or your preferred text editor)podman
podman-compose
There are lots of tutorials on setting up SSH
access with sudo
privileges. Use one if you need to get that set up.
If you are using a Fedora-based distro, you can run this command to install the pre-requisite software:
sudo dnf -y install git nano podman podman-compose
# Usually in a non-root home user directory (`cd ~`)
cd /path/to/desired/base/directory
git clone https://github.com/jaredhowland/caddy-stack.git
cd caddy-stack
# Edit and save `Caddyfile` to match your needs
nano caddy/Caddyfile
# Edit and save example `.env` to match your needs
nano .env
# Copy your app/website files to this directory
cd websites
podman-compose up --build
Copy website files into /path/to/desired/base/directory/caddy-stack/websites/
- Root User:
root
- Root User Password:
root-change-me
- Regular User:
admin
- Regular User Password:
change-me