{"id":28586993,"url":"https://github.com/nxvhm/nginx-postgresql-laravel","last_synced_at":"2026-04-14T19:32:03.841Z","repository":{"id":294048285,"uuid":"984808846","full_name":"nxvhm/nginx-postgresql-laravel","owner":"nxvhm","description":"Laravel/PostgreSQL/Nginx setup for bootstraping new project","archived":false,"fork":false,"pushed_at":"2025-05-19T13:11:52.000Z","size":88,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-11T07:09:39.481Z","etag":null,"topics":["docker","docker-compose","laravel","nginx","php","postgresql"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nxvhm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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,"zenodo":null},"funding":{"github":"richarvey"}},"created_at":"2025-05-16T14:41:11.000Z","updated_at":"2025-05-19T13:11:56.000Z","dependencies_parsed_at":"2025-05-18T17:52:39.675Z","dependency_job_id":null,"html_url":"https://github.com/nxvhm/nginx-postgresql-laravel","commit_stats":null,"previous_names":["nxvhm/nginx-postgresql-laravel"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nxvhm/nginx-postgresql-laravel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nxvhm%2Fnginx-postgresql-laravel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nxvhm%2Fnginx-postgresql-laravel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nxvhm%2Fnginx-postgresql-laravel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nxvhm%2Fnginx-postgresql-laravel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nxvhm","download_url":"https://codeload.github.com/nxvhm/nginx-postgresql-laravel/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nxvhm%2Fnginx-postgresql-laravel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31812968,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"ssl_error","status_checked_at":"2026-04-14T18:05:01.765Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["docker","docker-compose","laravel","nginx","php","postgresql"],"created_at":"2025-06-11T07:01:11.385Z","updated_at":"2026-04-14T19:32:03.826Z","avatar_url":"https://github.com/nxvhm.png","language":"Dockerfile","funding_links":["https://github.com/sponsors/richarvey"],"categories":[],"sub_categories":[],"readme":"The repository contains very basic docker setup aimed to quickly bootstrap a development environment for a new Laravel project using PostgreSQL as database.\n\nSome of the scripts used in the repository were copied from [Ric Harvey's nginx-php-fpm repository](https://github.com/richarvey/nginx-php-fpm)\n\n## Installation\n\n1. Clone the repository on your file system. E.g: `/my/project/dir`\n\n2. Navigate to that directory and create the source code folder\n```sh\ncd /my/project/dir\nmkdir src\n```\n\u003e! When working on existing project just clone the source code inside the src/ folder and then run `docker-compose`\n\n2. Run:\n```sh\ndocker-compose up -d\n```\n\n\u003e! If using on windows make sure the start script located in `nginx-php/scripts/start.sh` have an LF file endings before running the `docker-compose up` command\n\n3. Create New Laravel Project\n\n```sh\ncd /my/project/dir\ndocker-compose exec -i nginx-php bash -c \"composer create-project laravel/laravel .\"\n```\n4. Copy the `.env` file and set the app keys and run the initial migrations\n```sh\ndocker-compose cp nginx-php/app.env.example nginx-php:/var/www/html/.env\ndocker-compose exec -i nginx-php bash -c \"php artisan key:generate\"\ndocker-compose exec -i nginx-php bash -c \"php artisan migrate\"\n```\n\n## Visibility\n\nYou can view the project from `http://localhost:5500` or `https://localhost:5543`. To change the ports edit docker-compose file. \nYour postgreSQL is available at `127.0.0.1:54320`.\n\n\n### Refresh Self Signed SSL\n\nTo regenerate the certificates run:\n```sh\nopenssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout cert/mycert.key -out cert/mycert.crt\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnxvhm%2Fnginx-postgresql-laravel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnxvhm%2Fnginx-postgresql-laravel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnxvhm%2Fnginx-postgresql-laravel/lists"}