{"id":22083634,"url":"https://github.com/dockerbound-immortal/lepr-improved","last_synced_at":"2026-05-05T11:33:00.792Z","repository":{"id":54721222,"uuid":"275166801","full_name":"Dockerbound-Immortal/LEPR-Improved","owner":"Dockerbound-Immortal","description":"Lumen, Nginx, Postgres, and RabbitMQ. pdo_enabled openssl_enabled mbstring_enabled openssl_enabled. Development Stack.","archived":false,"fork":false,"pushed_at":"2023-02-01T20:47:30.000Z","size":1273,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-29T04:45:35.764Z","etag":null,"topics":["artisan","composer","docker-containers","nginx","node13","php7","postgres11","rabbitmq3"],"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/Dockerbound-Immortal.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}},"created_at":"2020-06-26T13:48:33.000Z","updated_at":"2021-01-05T12:02:51.000Z","dependencies_parsed_at":"2023-02-17T10:50:14.988Z","dependency_job_id":null,"html_url":"https://github.com/Dockerbound-Immortal/LEPR-Improved","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dockerbound-Immortal%2FLEPR-Improved","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dockerbound-Immortal%2FLEPR-Improved/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dockerbound-Immortal%2FLEPR-Improved/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dockerbound-Immortal%2FLEPR-Improved/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dockerbound-Immortal","download_url":"https://codeload.github.com/Dockerbound-Immortal/LEPR-Improved/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245170834,"owners_count":20572146,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["artisan","composer","docker-containers","nginx","node13","php7","postgres11","rabbitmq3"],"created_at":"2024-12-01T00:16:44.791Z","updated_at":"2026-05-05T11:32:55.744Z","avatar_url":"https://github.com/Dockerbound-Immortal.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Microservices \n\nA secondary README.md is available in the `src/` folder showing the\nsteps taken. \n\n# Setup\n1. Ensure Docker is installed\n2. Run command: \n    `docker volume create data-postgres`\n\nThis is a workaround for an issue in which postgres does not allow\nfor volumes to be shared due to postgres permissions. \n\n3. `cd` into the root directory\n4. Run `docker-compose up`\n\nThe server will appear via the url: [http://localhost:8080](http://localhost:8080)\n\n# Constructed Compose File\nLEPP development stack.\n\nThis development stack\n\n# .env\n\nYou will need to set up a .env file in the root directory for the container to run:\n\n- POSTGRES_DATABASE=app_db\n- POSTGRES_USER=username\n- POSTGRES_PASSWORD=password\n- POSTGRES_ROOT_PASSWORD=rootPassword\n\nThe name of the db must remain as `app_db` for the container to work.\n\n# Loading init.SQL \n\nA workaround for cases where the `init.SQL` does not run on startup.\n`exec` in to the postgres container, and run the following command:\u003cbr /\u003e\u003cbr /\u003e\n\n\u003ccode\u003e\n    \u003cpre\u003e\n    psql -d app_db -U username -a -f docker-entrypoint-initdb.d/init.sql\n    \u003c/pre\u003e\n\u003c/code\u003e\n\nThis will create and populate all of the database tables. \n\nNote: `app_db` must remain the same, along with the path to `init.sql`, the username is the one you have specified in the `.env` file.\n\n## Usage\n\nBuild Laravel file in src folder, or add php files to the \"public/\" directory. Run `docker-compose up -d --build` at root. Open browser to [http://localhost:8080](http://localhost:8080).\n\nThree new available have been added that handle Composer, NPM, and Artisan commands without having to have these platforms installed on your local computer. Use the following command templates from your project root, modifiying them to fit your particular use case:\n\n- `docker-compose run --rm composer update`\n- `docker-compose run --rm npm run dev`\n- `docker-compose run --rm artisan migrate` \n\n# Migrating Tables\n\nTo use artisan commands such as migrations, `exec` into the `php` container and run the command.\n\nNote, this container does not contain bash, commands should be run as follows:\n\n\u003ccode\u003e\n    \u003cpre\u003e\n    docker exec -ti php php artisan migrate\n    \u003c/pre\u003e\n\u003c/code\u003e\n\nContainers created and their ports (if used) are as follows:\n\n- **nginx** - `:8080`\n- **mysql** - `:3306`\n- **php** - `:9000`\n- **npm**\n- **composer**\n- **artisan**\n- **rabbitmq_management** - `:15672`\n- **rabbitmq** - `:5672`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdockerbound-immortal%2Flepr-improved","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdockerbound-immortal%2Flepr-improved","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdockerbound-immortal%2Flepr-improved/lists"}