Compare commits

6 Commits

Author SHA1 Message Date
a5deb07a66 fixed env format and added phpmyadmin doc 2025-06-08 18:15:16 -07:00
9fd3d7142d fixed the readme links 2025-03-26 18:19:10 -07:00
c185b80b4f updated name in docker-compose 2025-03-21 18:21:19 -07:00
9dcb385cf1 fix path 2025-03-21 17:42:30 -07:00
e6b9d42097 change name to corxn 2025-03-21 17:39:39 -07:00
0be607a1ae correct image 2025-03-21 13:22:29 -07:00
4 changed files with 24 additions and 20 deletions

View File

@@ -1,10 +1,11 @@
# 4 Lights Consulting PHP APACHE Debian Continaer
![CORXN Container](/_assets/corxn-logo.png)
Dockerhub: https://hub.docker.com/r/4lights/phpcontainer
Git Repo: https://git.4lt.ca/4lt/phpcontainer
# CORXN - The Core Foundation of Novaconium
This repository provides a production-ready Docker container for running PHP with Apache.
It is optimized for [Novaconium Framework](https://git.4lt.ca/4lt/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
@@ -25,18 +26,17 @@ Follow these steps to set up the PHP container on your local environment.
#### Clone the Repository
```bash
git clone https://git.4lt.ca/4lt/phpcontainer.git
cd phpcontainer
docker build -t php-apache-container .
git clone https://git.4lt.ca/4lt/corxn.git
cd corxn
```
## How to update on dockerhub
## How to update image on dockerhub
```bash
sudo su
docker buildx build --no-cache -t 4lights/phpcontainer:6.0.0 -t 4lights/phpcontainer:latest --load .
docker buildx build --no-cache -t 4lights/corxn:6.0.0 -t 4lights/corxn:latest --load .
docker login
docker push 4lights/phpcontainer:6.0.0
docker push 4lights/phpcontainer:latest
docker push 4lights/corxn:6.0.0
docker push 4lights/corxn:latest
```
# References And Notes

BIN
_assets/corxn-logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

@@ -1,8 +1,7 @@
# Sample Docker Compose
services:
php-apache:
#image: 4lights/phpcontainer:6.0.0
image: debianphp
corxn:
image: 4lights/corxn:6.0.0
ports:
- "8000:80"
volumes:
@@ -23,10 +22,10 @@ services:
mariadb:
image: mariadb:latest
environment:
MYSQL_ROOT_PASSWORD: rootpassword
MYSQL_DATABASE: dbname
MYSQL_USER: user
MYSQL_PASSWORD: password
- MYSQL_ROOT_PASSWORD=rootpassword
- MYSQL_DATABASE=dbname
- MYSQL_USER=user
- MYSQL_PASSWORD=password
volumes:
- ./data/db:/var/lib/mysql
networks:

5
docs/phpmyadmin.md Normal file
View File

@@ -0,0 +1,5 @@
# PHPMYADMIN
You may want to use PHPmyAdmin for testing.
Checkout [Docker Cookbooks](https://github.com/nickyeoman/docker-compose-cookbooks/blob/master/phpmyadmin/docker-compose.yml) for an example.