2023-08-23 16:23:17 +00:00
|
|
|
# 4 Lights Consulting
|
|
|
|
|
2024-06-04 23:41:12 +00:00
|
|
|
The apache php docker container that 4 Lights uses for production.
|
2023-08-23 16:50:14 +00:00
|
|
|
|
2023-08-23 16:54:57 +00:00
|
|
|
Dockerhub: https://hub.docker.com/r/4lights/phpcontainer
|
|
|
|
|
2024-06-04 23:41:12 +00:00
|
|
|
## How to update
|
|
|
|
|
2025-01-15 01:05:44 +00:00
|
|
|
1. Clone the project: ```git clone git@git.4lt.ca:4lt/phpcontainer.git```
|
|
|
|
2. Update the Dockerfile.
|
|
|
|
3. Build (be sure to change the version number)
|
2024-07-18 20:40:36 +00:00
|
|
|
|
2024-06-04 23:41:12 +00:00
|
|
|
```bash
|
2025-01-15 01:05:44 +00:00
|
|
|
sudo su
|
|
|
|
docker buildx build --no-cache -t 4lights/phpcontainer:5.0.0 -t 4lights/phpcontainer:latest --load .
|
|
|
|
docker login
|
|
|
|
docker push 4lights/phpcontainer:5.0.0
|
|
|
|
docker push 4lights/phpcontainer:latest
|
2024-06-04 23:41:12 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
# References And Notes
|
|
|
|
|
|
|
|
* [Stack Overflow IMAP features](https://stackoverflow.com/questions/49854767/docker-php7-2-fpm-cant-install-imap-module)
|
|
|
|
* Joomla base used: f9a16bcbd8/4.3/php8.1/apache/Dockerfile
|
|
|
|
|
|
|
|
## Supported Software
|
|
|
|
|
|
|
|
* 4 Lights PHP Framework
|
|
|
|
|
|
|
|
## Samples included in Repo
|
|
|
|
|
|
|
|
There is a docker-compose, env-sample and php.ini included as sample data.
|