Docker Deployment
Deploy with Docker
Section titled “Deploy with Docker”For individuals leveraging a fully unpolluted, containerized stack, FoxDesk provides a pre-configured docker-compose.yml file to initialize a connected architecture with PHP 8, Nginx, and an integrated MySQL container.
Quick Start (Docker Compose)
Section titled “Quick Start (Docker Compose)”Initialization using Compose reduces the setup to a single host directory with basic terminal commands. Upload your installation bundle, extract it on your desired system, and execute:
1. Launching the Containers
Section titled “1. Launching the Containers”In the background, running the cluster sets up both an app and db network via the basic compose detached command:
docker compose up -d2. Checking Output Diagnostics
Section titled “2. Checking Output Diagnostics”Since the database daemon and standard web server take a few seconds to boot cleanly, monitor process readiness natively through:
docker compose logs -f3. Setting Up Environmental Logic
Section titled “3. Setting Up Environmental Logic”For more persistent variables, we advise utilizing an external .env variable setup—separating sensitive local passwords away from the primary manifest YAML.
Once the containers run locally or over external IPs on port 8080, simply navigate to http://localhost:8080/install.php (or adapt the base URL for your setup endpoint) and complete the configuration via the wizard. When asked for a Database Host, do not input localhost. Select your specified database container instance identifier (commonly db).