https://github.com/hophiphip/bruh
A sample platform implementation for publishing and accessing insurance services.
https://github.com/hophiphip/bruh
docker-compose laravel
Last synced: about 2 months ago
JSON representation
A sample platform implementation for publishing and accessing insurance services.
- Host: GitHub
- URL: https://github.com/hophiphip/bruh
- Owner: hophiphip
- License: mit
- Created: 2022-01-25T14:19:24.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-28T18:24:11.000Z (over 4 years ago)
- Last Synced: 2025-09-14T15:59:44.727Z (10 months ago)
- Topics: docker-compose, laravel
- Language: PHP
- Homepage:
- Size: 2.33 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bruh
A sample platform implementation for publishing and accessing insurance services.
## Try it
https://bruh-service.herokuapp.com/
## Requirements
- [Docker](https://www.docker.com/)
## Quick start
Create a config file.
```shell
cp .env.example .env
```
Start the app in background
```shell
docker-compose -f docker-compose.yml up -d
```
## Recommendations
Delete volumes between runs (e.g. update webapp files/configs)
```shell
docker-compose down -v
```
## Tests
### Unit/Feature tests
```shell
docker-compose -f docker-compose-unit.yml up --exit-code-from app
```
## Possible issues
---
**NOTE** `Docker` memory cap might be exceeded because of `Elasticsearch`.
Can be fixed with this:
Linux
```shell
sysctl -w vm.max_map_count=262144
```
Windows
```shell
wsl -d docker-desktop
```
```shell
sysctl -w vm.max_map_count=262144
```
---