Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/riaz-mahmud/docker-nodejs-mongobd-php-mongoexpress-redis
https://github.com/riaz-mahmud/docker-nodejs-mongobd-php-mongoexpress-redis
docker docker-compose docker-mongodb docker-node-app docker-node-builder docker-node-mongo docker-php docker-redis mongodb mongoexpress node-mongodb nodejs php redis
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/riaz-mahmud/docker-nodejs-mongobd-php-mongoexpress-redis
- Owner: Riaz-Mahmud
- License: mit
- Created: 2023-12-02T22:58:48.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-01-11T00:47:50.000Z (10 months ago)
- Last Synced: 2024-01-13T16:12:13.125Z (10 months ago)
- Topics: docker, docker-compose, docker-mongodb, docker-node-app, docker-node-builder, docker-node-mongo, docker-php, docker-redis, mongodb, mongoexpress, node-mongodb, nodejs, php, redis
- Language: JavaScript
- Homepage:
- Size: 45.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LAMP stack built with Docker Composer for Node.js PHP MongoDB MongoExpress Redis
A basic LAMP stack environment built using Docker Compose. It consists of the following:
- NodeJs
- MongoDB
- MongoDB Express
- PHP
- Redis## Installation
- Clone this repository on your local computer
- configure .env as needed
- copy your nodejs app to the www/backend folder
- copy your frontend app to the www/frontend folder
- Run the `docker-compose up -d`.```shell
git clone https://github.com/Riaz-Mahmud/docker-nodejs-mongobd-php-mongoExpress-redis.git
cd docker-compose-nodejs-mongobd
// modify .env as needed
docker compose up -d
docker ps // check if all containers are running
// visit localhost
```Your project is now ready!! You can access it via `http://localhost`.
## Versions
- NodeJs latest
- MongoDB latest
- MongoDB Express latest
- PHP latest
- Redis latestYou can also change the version of a specific service you want by simply editing the `.env` file at the root of this project and changing the version number of the service you want to use.
## Docker Compose Files
- `docker-compose.yml` - The primary docker compose file. It consists of all the services needed for setting up the LAMP stack environment.
## Configuration and Usage
Please read from the official docker documentation for more configuration and usage [Docker Compose](https://docs.docker.com/compose/).
## License
The MIT License (MIT). Please see [License File](LICENSE) for more information.