Files
CORXN/README.md
T
code 6ddd151ed1 Switch to official php:8.5.8-fpm-trixie image, fix extension/FPM build issues
Rebuild on the official PHP image instead of Sury's repo on bare Debian.
Fixes surfaced along the way: missing pkg-config/libonig-dev broke the
zip/mbstring extension builds, purging libzip-dev also auto-removed the
libzip5 runtime lib the compiled zip.so needs, phpredis needed bumping to
6.3.0 for PHP 8.5 header compatibility, and the php-fpm.conf listen
directive sed didn't match the commented-out default line so FPM never
created its unix socket, causing 503s from Apache's proxy_fcgi handler.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-20 16:27:40 +00:00

55 lines
1.5 KiB
Markdown

![CORXN Container](/_assets/corxn-logo.png)
# CORXN - The Core Foundation of Novaconium
Links: [Dockerhub](https://hub.docker.com/r/4lights/corxn), [Git Repo](https://git.4lt.ca/4lt/CORXN)
CORXN (core-ex-en) is a lightweight yet powerful Docker-based environment designed as the core foundation for the [Novaconium PHP Framework](https://git.4lt.ca/4lt/novaconium).
It provides a streamlined stack featuring Apache, the latest PHP version, Redis, and MariaDB, optimized for high performance.
## Features
- **Base**: official `php:8.5.8-fpm-trixie` image (Debian Trixie)
- **PHP Version**: 8.5.8 (pinned)
- **Apache Web Server**: Configured to run PHP applications
- **Support for**:
- `remoteip` (reverse proxy)
- `redis`
- `mariadb`
- **Timezone**: Default set to Vancouver (`America/Vancouver`)
## Getting Started
Follow these steps to set up the PHP container on your local environment.
### Usage
#### Clone the Repository
```bash
git clone https://git.4lt.ca/4lt/corxn.git
cd corxn
```
## How to update image on dockerhub
```bash
sudo su
docker buildx build --no-cache -t 4lights/corxn:8.5.8 -t 4lights/corxn:latest --load .
docker login -u <username>
docker push 4lights/corxn:8.5.8
docker push 4lights/corxn:latest
```
# Testing
Here is how to text the build:
```bash
mkdir -p data/uploads && sudo chown -R 33:33 data/uploads && chmod 775 data/uploads
docker compose up -d
# Visit: http://localhost:8000/test.php
# Test: file upload and that green checkmarks exist
```
# Logs
```docker logs corxn```