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
|
# 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
BIN
_assets/corxn-logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
@@ -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
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