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 # CORXN - The Core Foundation of Novaconium
Git Repo: https://git.4lt.ca/4lt/phpcontainer
This repository provides a production-ready Docker container for running PHP with Apache. Links: [Dockerhub](https://hub.docker.com/r/4lights/corxn), [Git Repo](https://git.4lt.ca/4lt/CORXN)
It is optimized for [Novaconium Framework](https://git.4lt.ca/4lt/novaconium).
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 ## Features
@@ -25,18 +26,17 @@ Follow these steps to set up the PHP container on your local environment.
#### Clone the Repository #### Clone the Repository
```bash ```bash
git clone https://git.4lt.ca/4lt/phpcontainer.git git clone https://git.4lt.ca/4lt/corxn.git
cd phpcontainer cd corxn
docker build -t php-apache-container .
``` ```
## How to update on dockerhub ## How to update image on dockerhub
```bash ```bash
sudo su 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 login
docker push 4lights/phpcontainer:6.0.0 docker push 4lights/corxn:6.0.0
docker push 4lights/phpcontainer:latest docker push 4lights/corxn:latest
``` ```
# References And Notes # 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 # Sample Docker Compose
services: services:
php-apache: corxn:
#image: 4lights/phpcontainer:6.0.0 image: 4lights/corxn:6.0.0
image: debianphp
ports: ports:
- "8000:80" - "8000:80"
volumes: volumes:
@@ -23,10 +22,10 @@ services:
mariadb: mariadb:
image: mariadb:latest image: mariadb:latest
environment: environment:
MYSQL_ROOT_PASSWORD: rootpassword - MYSQL_ROOT_PASSWORD=rootpassword
MYSQL_DATABASE: dbname - MYSQL_DATABASE=dbname
MYSQL_USER: user - MYSQL_USER=user
MYSQL_PASSWORD: password - MYSQL_PASSWORD=password
volumes: volumes:
- ./data/db:/var/lib/mysql - ./data/db:/var/lib/mysql
networks: networks:
@@ -37,4 +36,4 @@ networks:
proxy: proxy:
external: true external: true
internal: internal:
driver: bridge driver: bridge

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.