{"id":19023791,"url":"https://github.com/kodriboh/bjornstad-mvc","last_synced_at":"2026-06-07T16:31:18.011Z","repository":{"id":110642259,"uuid":"313765994","full_name":"Kodriboh/Bjornstad-MVC","owner":"Kodriboh","description":"Basic MVC framework with PDO functionality. Built using OOPHP.","archived":false,"fork":false,"pushed_at":"2020-11-22T17:34:02.000Z","size":95,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-21T18:44:04.619Z","etag":null,"topics":["framework","php7"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kodriboh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-17T23:09:05.000Z","updated_at":"2021-01-05T11:49:27.000Z","dependencies_parsed_at":"2023-04-04T21:03:29.322Z","dependency_job_id":null,"html_url":"https://github.com/Kodriboh/Bjornstad-MVC","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/Kodriboh/Bjornstad-MVC","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kodriboh%2FBjornstad-MVC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kodriboh%2FBjornstad-MVC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kodriboh%2FBjornstad-MVC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kodriboh%2FBjornstad-MVC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kodriboh","download_url":"https://codeload.github.com/Kodriboh/Bjornstad-MVC/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kodriboh%2FBjornstad-MVC/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34029790,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-07T02:00:07.652Z","response_time":124,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["framework","php7"],"created_at":"2024-11-08T20:32:51.666Z","updated_at":"2026-06-07T16:31:17.988Z","avatar_url":"https://github.com/Kodriboh.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-compose-Bjornstad\r\nA simplified Docker Compose workflow that sets up a BEMP network of containers for local development. \r\n\r\n## Usage\r\n\r\nTo get started, make sure you have [Docker installed](https://docs.docker.com/docker-for-mac/install/) on your system, and then clone this repository.\r\n\r\nNext, navigate in your terminal to the directory you cloned this, and spin up the containers for the web server by running `docker-compose up -build -d`\r\n\r\nBringing up the Docker Compose network with `site` instead of just using `up`, ensures that only our site's containers are brought up at the start, instead of all of the command containers as well. The following are built for our web server, with their exposed ports detailed:\r\n\r\n- **nginx** - `:8080`\r\n- **mysql** - `:3306`\r\n- **php** - `:9000`\r\n- **phpmyadmin** - `:5000`\r\n\r\nThree additional containers are included that handle Composer, NPM, and Artisan commands *without* having to have these platforms installed on your local computer. Use the following command examples from your project root, modifying them to fit your particular use case.\r\n\r\n- `docker-compose run --rm composer update`\r\n- `docker-compose run --rm npm run dev`\r\n- `docker-compose run --rm artisan migrate` \r\n\r\n## Persistent MySQL Storage\r\n\r\nBy default, whenever you bring down the Docker network, your MySQL data will be removed after the containers are destroyed. If you would like to have persistent data that remains after bringing containers down and back up, do the following:\r\n\r\n1. Create a `mysql` folder in the project root, alongside the `nginx` and `src` folders.\r\n2. Under the mysql service in your `docker-compose.yml` file, add the following lines:\r\n\r\n```\r\nvolumes:\r\n  - ./mysql:/var/lib/mysql\r\n```\r\n\r\n# Issues\r\n\r\n## Server Error 500\r\n\u003e exec into php container: docker exec -ti php sh\r\n\r\n\u003e install dependencies: composer install \r\n\r\n\u003e run node install: docker run --rm node install\r\n\r\n## Unable to access storage\r\n\u003e exec into php container: docker exec -ti php sh\r\n\r\n\u003e change ownership: \r\n\u003ccode\u003echown -R www-data: storage\u003c/code\u003e\r\n\u003ccode\u003echown -R www-data: bootstrap/cache\u003c/code\u003e\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkodriboh%2Fbjornstad-mvc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkodriboh%2Fbjornstad-mvc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkodriboh%2Fbjornstad-mvc/lists"}