https://github.com/nusmodifications/docker-nuswhispers
Run NUSWhispers web stack using Docker.
https://github.com/nusmodifications/docker-nuswhispers
Last synced: 5 months ago
JSON representation
Run NUSWhispers web stack using Docker.
- Host: GitHub
- URL: https://github.com/nusmodifications/docker-nuswhispers
- Owner: nusmodifications
- License: mit
- Created: 2016-07-24T12:37:37.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2019-12-04T14:16:09.000Z (over 6 years ago)
- Last Synced: 2024-04-14T05:15:18.279Z (about 2 years ago)
- Language: Dockerfile
- Size: 27.3 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker Images for NUSWhispers
> Run NUSWhispers web stack using Docker.
## Containers
- nginx
- php-fpm
- MariaDB
- Redis
- Workspace (for running `composer`, `npm` operations)
- Data (for databases' persistence)
- Application (mapped to NUSWhispers source code)
## Requirements
- Docker for Mac / Windows
## Setup
Assuming your work directory is `~/Projects/`:
1) Checkout NUSWhispers source code:
```
cd ~/Projects
git clone https://github.com/nusmodifications/nuswhispers.git
```
2) Checkout this repository; it should be on the same folder as `nuswhispers`:
```
cd ~/Projects
git clone https://github.com/nusmodifications/docker-nuswhispers.git
```
3) Setup for the first time:
```
cd docker-nuswhispers
docker-compose up
```
## Usage
**Example:** Running all containers in the background:
```
docker-compose up -d
```
**Example:** Destroying all containers:
```
docker-compose down
```
**Example:** Run bash in workspace container:
```
docker exec -it {workspace-container-name} bash
```
## Credits
- [Laradock](https://github.com/LaraDock/)