{"id":21391368,"url":"https://github.com/kun391/phpup","last_synced_at":"2026-04-20T05:02:07.828Z","repository":{"id":73625709,"uuid":"191541470","full_name":"kun391/phpup","owner":"kun391","description":"Docker setup nginx \u0026 supervisor","archived":false,"fork":false,"pushed_at":"2021-11-26T07:25:07.000Z","size":21,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-16T13:24:56.313Z","etag":null,"topics":["dnsmasq","docker","docker-compose","laravel","mkcert","php","supervisor","traefik"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/kun391.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":"2019-06-12T09:34:38.000Z","updated_at":"2023-12-19T23:39:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"ad3b2a80-2306-4ab7-8b58-9f0a63a2dcd1","html_url":"https://github.com/kun391/phpup","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/kun391/phpup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kun391%2Fphpup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kun391%2Fphpup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kun391%2Fphpup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kun391%2Fphpup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kun391","download_url":"https://codeload.github.com/kun391/phpup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kun391%2Fphpup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32033717,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"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":["dnsmasq","docker","docker-compose","laravel","mkcert","php","supervisor","traefik"],"created_at":"2024-11-22T13:26:11.880Z","updated_at":"2026-04-20T05:02:07.813Z","avatar_url":"https://github.com/kun391.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# https://github.com/kun391/phpup\r\n\r\n## Maintained by: [KUN](https://github.com/kun391/phpup)\r\n\r\nThis is the Git repo of the DOCKER NGINX-PHP7.4 \u0026 Supervisor\r\n\r\n\r\n# Tutorial\r\n\r\nFollow these steps to deploy a simple  _Hello, world!_ app into production:\r\n\r\n## Dockerfile\r\n\r\nThis is the step I hope to be able to eliminate eventually. \r\n\r\n```\r\nvim Dockerfile\r\n```\r\n\r\nCopy and save the following:\r\n\r\n```\r\n# Dockerfile\r\nFROM kun391/phpup:1.0\r\n\r\nMAINTAINER Some Guy \r\n\r\n....\r\n\r\n\r\nWORKDIR /your-application-dir\r\n\r\n....\r\n\r\n```\r\n\r\n## Start Web Server with docker-compose (http) same the file [docker-compose](https://github.com/kun391/phpup/blob/master/docker-compose-deployment.yaml)\r\n\r\nStep 1\r\n```\r\nvim docker-compose.yml\r\n```\r\nCopy and save the following:\r\n\r\n```\r\nversion: '3'\r\nservices:\r\n  # container for API\r\n  app:\r\n    image: kun391/phpup:1.0\r\n    ports:\r\n      - 8000:80\r\n    depends_on:\r\n      - db\r\n    working_dir: /var/www/app\r\n    volumes:\r\n      - './demo:/var/www/app'\r\n      - ./demo/queue.conf:/etc/supervisor/conf.d/queue.conf\r\n  ...\r\n\r\n```\r\n\r\nAssuming all steps were followed correctly, this will pull all the required images and start serving the app:\r\n```\r\ndocker-compose -f docker-compose up -d\r\n```\r\n\r\nNOW, We can access this with localhost:8000 for Web Server\r\n\r\n## Start web server with docker-compose (https)\r\n\r\nWe using traefik, dnsmasq, mkcert for this sample.\r\n\r\nWe can following [docker-compose](https://github.com/kun391/phpup/blob/master/docker-compose.yaml)\r\n\r\n# Contributing\r\n\r\n# License\r\nMIT\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkun391%2Fphpup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkun391%2Fphpup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkun391%2Fphpup/lists"}