Compare commits
6 Commits
f59517b318
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| a5deb07a66 | |||
| 9fd3d7142d | |||
| c185b80b4f | |||
| 9dcb385cf1 | |||
| e6b9d42097 | |||
| 0be607a1ae |
24
README.md
24
README.md
@@ -1,10 +1,11 @@
|
||||
# 4 Lights Consulting PHP APACHE Debian Continaer
|
||||

|
||||
|
||||
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
BIN
_assets/corxn-logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
@@ -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
5
docs/phpmyadmin.md
Normal 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.
|
||||
Reference in New Issue
Block a user